Redirect Page By Role

What is:

It is a module that allow your website redirect any user in any node to anywhere.

The redirects could be configured for individual nodes or by content type.


How to install

You can follow the Drupal's steps to download and install a module.

Please use Composer to manage your Drupal site.

Check on the module's page the available versions.


How to configure

Global configuration

  1. Go to
    • Admin > Configuration > Search and metadata > Redirect Page By Role.
    • Or Admin > Extend and search for Redirect Page By Role and click on Configure.
  2. On Role to bypass the redirection rules will be listed all roles for your website, you can choose which role(s) can bypass the redirection rules.
  3. On Default redirect status you can choose the redirect status for global configurations.
  4. On CONTENT TYPES DEFAULT SETTINGS you can set redirection rule for each role on each content type you have in your website.
  5. You can set the priority for each role just dragging and drop the role. The priority is from top to bottom.
  6. Click on Save configuration.


Node individual configuration

Attention: Node settings have higher priority than global settings!

  1. Access the Node you want to add a redirection rule.
  2. On the right side menu expand REDIRECT PAGE BY ROLE menu
  3. Clicking on the checkbox Override default settings will appear the Redirect Page By Role node configuration menu.
  4. Now you can set redirection rule for each role for this specific node.
    • You can set the priority for each role just dragging and drop the role. The priority is from top to bottom.
  5. Save the node.

Known issues

  • Make sure that table ordering by weight issue is solved or apply the patch on your project.

Enjoy your redirection rules!

Supporting organizations: 
Developing and maintenance

Project information

Releases