Announcing: Global Redirect Module

Oct
08
2006

Well its nearly 1am - but I've just submitted by very first Drupal module to the community

http://drupal.org/project/globalredirect

Basically, if you have an alias for a node then it will redirect you to the alias if you try to access the node directly… The best example is the site it was designed for. At Sportbusiness.com you could access a news story by:

http://www.sportbusiness.com/node/160374

However if you try that on sportbusiness.com, this module picks up that node/160374 actually has an alias attached to it and you will automatically be whisked away to that aliased URL, in this case:

http://www.sportbusiness.com/news/160374/london-2012-appoints-head-of…

The reason I wanted to do this was because search engines such as Google DO NOT like duplicate pages (ie pages with different URL's but the same content). This could land you in the sandbox! However with this module, if google manages to find a link to node/123456 then wont see the same content as its aliased sister page, instead it will get permanently redirected (a 301 redirect)!

Comment Icon

3 Comments

The most recent comment was on Mon, 21st May 2007, 21:22

Global redirect

Hi
I have installed the Global Redirect in my modules folder but cannot see it anywhere to enable it. The nodes are still showing up as well.

I am presuming this is not self-executing?
Can you tell me what I need to do to enable your module :-)
Thank you for all your great work
Richard in Vancouver

Thanks for the comment

It depends which version you installed - please open an issue in the Global Redirect queue located here: drupal.org/project/issues/globalredirect.

It could be that there is a bug in your version - if its V5, try the dev version - I may have done a bad commit on the official release which may mean it doesn't include a .info file.

hi njt1982, you are right:

hi njt1982,
you are right: Google DO NOT like duplicate pages!
Thanks for tip!

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <img> <p>
  • You can use BBCode tags in the text. URLs will automatically be converted to links.
  • You can enable syntax highlighting of source code with the following tags: <pre>, <code>.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.

Follow Me

Recent comments

Answers 1 day ago
Replies.... 6 days ago
Or in 6 days ago
A few tweaks 1 week ago
Nice 1 week ago
Thanks a million 1 week ago
Syndicate content