Skip to content

Sites Redirect

Sites Redirect gives every redirect of the Redirect module a site: the redirect answers on that site's address only, and one source path can redirect differently per site: Hydrion and Torqline can each send /about-us to their own About page. A site's people manage its redirects in the site's Redirects section (Redirects).

Install

A project of its own, drupal.org/project/sites_redirect:

composer require drupal/sites_redirect
drush en sites_redirect

Requires Sites, Sites path alias, redirect (redirect).

Configure

  1. Redirects that existed before the install have no site and match nowhere. Sites status (/admin/sites/reports/status) counts them; its Review them link lists them. Give each a site.
  2. To let a site's people manage its redirects, grant Administer individual URL redirections in a per-site role. They work in the site's Redirects section (/admin/sites/{site}/redirect, Search and metadata group of the dashboard).

The Redirect module's own settings (/admin/config/search/redirect/settings) apply to every site. With Automatically create redirects when URL aliases are changed ticked there, a changed or deleted URL alias leaves a redirect on the alias's site.

Admin pages

Path Title
/admin/sites/{site}/redirect URL redirects

For developers

Agent tools: sites_redirect:redirect_create.

Last updated 2026-10-16

Used in