Global Redirect module fixing Drupals duplicate content problems


The Global Redirect module takes care of some housekeeping issues that come up when clean URLs are enabled in Drupal. Let's say, for example, that you create a new web site and create the first node that you call My First Post.

Later, because you want the front page of your site to be the content of that node, you go into site settings and make node/1 the front page of the site. Sounds pretty harmless, right? Well, right at this moment, all of these URLs on your site would show the exact same content:

So, the search engines will think that you have six pages of the exact same content. That's not good. Global Redirect fixes that by redirecting all the URLs you don't want to the one URL that you do. Here's the logic that Global Redirect uses (sourced from http://drupal.org/project/globalredirect):

1. Checks the current URL for an alias and does a 301 redirect to it if it is not being used.

2. Checks the current URL for a trailing slash, removes it if present, and repeats check 1 with the new request.

3. Checks if the current URL is the same as the site_frontpage and redirects to the frontpage if there is a match.

4. Checks if the Clean URLs feature is enabled and then checks the current URL is being accessed using the clean method rather than the unclean method.

5. Checks access to the URL. If the user does not have access to the path, then no redirects are done. This helps avoid exposing private aliased nodes.

6. Make sure the case of the URL being accessed is the same as the one set by the author/administrator. For example, if you set the alias "articles/cake-making" to node/123, then the user can access the alias with any combination of case.

Legal Disclaimer

Our website is not responsible for the information contained by this article. Webworldarticles.com is a free articles resource thus practically any visitor can submit an article. However if you notice any copyrighted material, please contact us and we will remove the article(s) in discussion right away.


This article was sent to us by: Fonella P. at 09152010

Related Articles

1. Lead generation metrics that are critical for your website
Critical lead generation metrics Lead generation sites are focused on getting people to contact them. Examples include real estate agents, attorneys, insurance ...

2. Using analytics metrics to make SEO decisions
Secondary metrics worth tracking Analytics data is great at showing trends in your site's visitors. These trends may be useful for making certain decisions abou...

3. Roles in the construction of digital advertising
Other roles that have emerged with the growth of digital advertising are more related to the production of online campaigns. Digital technical directors (DTDs) ov...

4. Website traffic analyzer
Web traffic is traffic which is getting generated on the internet or on your Local Area Network (or LAN) Several web hosting companies provide a web traffic statist...

5. Monitoring via the Cloud: Monitis versus Open Source Monitoring Software
If your company is using a complex IT infrastructure and you are responsible for delivering mission critical applications, and every time the system is down you get complai...

6. The First monitoring company to fully integrate systems
There is a problem out there in IT-Land that is seldom spoken of, but just might be an IT manager's greatest nemesis: wasted time.  Nowhere is this pr...

7. Inbound Link Building in Internet Marketing
A technique to generate inbound links to a website to increase web traffic and internet popularity.It is a most effective approach to build high Page Rank in search e...

8. Advertise your website via web directories
In today world of online promoting one the most important place to start getting your website seen is in web directories. Web directories are online sites that helps people...

9. How to show Google that your site is relevant to a search query
In the case of your Web site, you don't want to oversimplify to the point that you've eliminated the signals Google needs in order to know that your Web site is relevant to...