Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: MCP Sentinel 2.29.0 — Minor update available for module mcp_sentinel (2.29.0). Release: Audit Chain 1.10.9 — Minor update available for module audit_chain (1.10.9). Release: Menu Autopilot 1.4.7 — Minor update available for module menu_autopilot (1.4.7). Release: FileGate 1.11.3 — Minor update available for module file_gate (1.11.3). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Redirect Options

No security coverage

Part of the Redirect ecosystem · 20 projects

View on drupal.org

Redirect Options

Provides functionality for adding redirect type info to redirects by taxonomy based selection field.

Motivation

Va.gov has several legacy redirects that need to be migrated into drupal. Some are server level, some are template based.
Va.gov uses a headless setup with graphql queries generated for consumption via metalsmith frontend. In the redirect query,
information about the original redirect source is required, so this module associates a new vocabulary taxonomy term to indicate
redirect type with each redirect.

What it does

* Creates a new vocabulary: Type of Redirect and adds the terms Server and Template. You will need to change the terms to suit
your use case.
* Adds Select redirect type selection field to redirect form, pulling values from Type of Redirect vocabulary
* Creates a new table: redirect_options used for storing redirect type and redirect association
* Adds the redirect type to the redirect table title column. This will change the To column here: admin/config/search/redirect to output the redirect type as the name of the redirect link for each result. This can be modified in the view: admin/structure/views/view/redirect/edit/page_1

Installation

Composer

If your site is managed via Composer, use Composer to
download the module:
composer require "drupal/redirect_options"

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
2.1.1 Stable May 1, 2023
2.1.0 Stable May 1, 2023