You are here

README.txt in Anonymous Redirect 7

Same filename and directory in other branches
  1. 8.2 README.txt
-- SUMMARY --

* The Anonymous Redirect module 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.


-- INSTALLATION --

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


-- CONFIGURATION (UI) --

Visit admin/config/development/anonymous-redirect


-- CONFIGURATION (SETTINGS.PHP) --

You can also 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.

// Make sure anonymous redirect is always enabled / disabled.
$conf['anonymous_redirect_enable'] = TRUE; // Set to FALSE to disable.
$conf['anonymous_redirect_base'] = 'http://example.com';

File

README.txt
View source
  1. -- SUMMARY --
  2. * The Anonymous Redirect module redirects anonymous users to another domain.
  3. * Users can still login by visiting /user or /user/login.
  4. * Authenticated users can access the site as per usual.
  5. -- INSTALLATION --
  6. * Install as usual, see http://drupal.org/node/895232 for further information.
  7. -- CONFIGURATION (UI) --
  8. Visit admin/config/development/anonymous-redirect
  9. -- CONFIGURATION (SETTINGS.PHP) --
  10. You can also enable/disable anonymous redirect via settings.php.
  11. This is particularly helpful if you want this always enabled on your staging
  12. site without having to disable and enable the module when syncing your database
  13. from production to staging/development. Just add the following to the bottom of
  14. the appropriate settings.php file.
  15. // Make sure anonymous redirect is always enabled / disabled.
  16. $conf['anonymous_redirect_enable'] = TRUE; // Set to FALSE to disable.
  17. $conf['anonymous_redirect_base'] = 'http://example.com';