Global Redirect

The Global Redirect module is extremely important to use when enabling the Pathauto module. Essentially, the Pathauto module will generate the appropriate aliases. However, it does not delete the old ones. So, if you had an alias of http://www.example.com/keyword1/keyword2.htm for the path http://www.example.com/node/23, you would be able to access the page from either URL. This will result in duplicate content.

What Global Redirect will do:

  • checks to see if the current URL has an existing alias, and if it does, it will automatically perform a 301 redirect to that alias
  • check if the current URL is marked as the front page and will redirect if so
  • verify that the url is being generated in clean mode
  • check for a trailing slash at the end of the URL and remove it if it exists to keep files consistent

This module is easy to use as you simply need to enable it in your modules setting. Global Redirect will automatically do the rest.

NOTE: If you change your Pathauto aliases for whatever reason, Global Redirect will not redirect your old alias to your new one. You will have to do a 301 Redirect in your .htaccess file to accomplish this.

Posted In

GlobalRedirect is a simple

GlobalRedirect is a simple module which… Checks the current URL for an alias and does a 301 redirect. But there was a conflict with global redirect module. It happens also to me, but if I disable "Menu Access Checking" in Global Redirect options, the masquerade module functions well again. In solving these type of conflicts mb2-631, mcdba and hp2-e14 are proved very useful for me.

avanoah28 | Sat, 08/08/2009 - 09:06