Starting with 2.x, Domain Redirect is completely rewritten with no upgrade path from prior versions (7.x / 8.x).

Old behavior (7.x / 8.x)

Custom redirect entities at paths like /domain-redirect/12345 that redirected users to different destinations depending on the active domain. Configured at its own admin page.

New behavior (2.x)

Integrates with the Redirect module to make standard redirects domain-aware. The same source path can redirect to different destinations depending on the active domain.

Features:

  • Adds a Domain entity reference field to the redirect entity — scope a redirect to a specific domain or leave it global.
  • Domain-specific redirects take precedence over global ones.
  • Domain column and exposed filter in the redirect admin list.
  • Domain-aware unique hash validation — the same source path can have different redirects on different domains.

Dependencies: domain:domain (3.x) and redirect:redirect (1.x).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Title: Rewrite module for 3.x: domain-aware redirects via Redirect module integration » Rewrite module for 2.x: domain-aware redirects via Redirect module integration

mably’s picture

Status: Active » Needs review

  • mably committed 39bd9f21 on 2.x
    feat: #3579151 Rewrite module for 2.x: domain-aware redirects via...
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.