Anonymous Redirect

Component ID

1889762

Component name

Anonymous Redirect

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

4121

Component created

Component changed

Component body

Description (2.x)

The 2.0 version of anonymous redirect grants users with admin privileges the ability to redirect all anonymous users to any internal or external url. Authenticated are still able to access the site as per usual.

This version of the module is currently only available for Drupal 8.

Description (1.x)

The 1.0 version of Anonymous Redirect redirects anonymous users to another domain. Users can still login by visiting /user or /user/login. Authenticated users can access the site as per usual.

This version of the module is currently only available for Drupal 7.

Configuration

Visit admin/config/development/anonymous-redirect. From here you can turn on and off anonymous redirects

2.x Only

• Set the path that anonymous users are redirected to
• Configure a list of internal paths that anonymous users are able to access
• Use '/path_name' for internal urls, and "http://website_url.com" for external links.

1.x Only

Enable/disable anonymous redirect via settings.php. This is particularly helpful if you want this always enabled on your staging site without having to disable and enable the module when syncing your database from production to staging/development. Just add the following to the bottom of the appropriate settings.php file.

Installation

Install as usual, see http://drupal.org/node/895232 for further information.

Code

The code for the 8.x branch of this project can also be found on Github