This project is not covered by Drupal’s security advisory policy.

This module allows to redirect certain paths and routes to a different domain, and also rewrite the respective links. It is based on the Domain Access module.

How it works
The module adds a new config entity type called Domain Route Redirect, which can be configured through the admin pages, and are added as children of an existing domain configuration entry. The config type allows setting a list of paths and routes for that domain entry that should be redirected to another domain entry. This will result in redirection when navigating to a URL that matches the path or route, and also rewrite the respective links.

The pages for creating these Domain Route Redirects are accessible from the main Domain Access administration pages under /admin/config/domain by selecting the relevant operation from the drop-down menu of the domain entry.

Development status
This module is under active development. Version alpha1 was a first attempt, and was mainly rewritten in alpha2. Moreover, alpha3 fixes a security issue. This version is now recommended for testing, and website maintainers are encouraged to give it a try.

Comments and ideas regarding how this module could be changed or re-designed would be much welcomed and should be done via the issue system on the drupal.org project page. Some form of feedback or peer-review would be required before the module can be released as a beta.

Project information

Releases