Fixing Duplicate Content in Drupal
The Global Redirect module can painlessly eliminate duplicate content on your Drupal website
The Global Redirect module can painlessly eliminate duplicate content on your Drupal website
A while back, Ben Finklea wrote about how easy it is to accidentally create duplicate content, and how to fix it. Though it has been some time since the post went up, it remains popular and useful advice— so we wanted to share it with you again.
Duplicate content isn’t just annoying and inconvenient— it’s bad for your SEO, and it’s very easy to accidentally create duplicate content on a Drupal site. But what is duplicate content? According to Google, duplicate content is “substantive blocks of content within or across domains that either completely match other content or are appreciably similar.”
In layman’s terms, duplicate content is content on your website that’s really, really similar, if not identical, to other content on your website or even elsewhere on the web.
Some duplicate content is malicious: spammers stealing your website’s content and posting it as their own is malicious duplicate content, for example. However, the most duplicate content that we find (by far) is non-malicious duplicate content, such as:
Unfortunately, when this happens, it can hurt your rankings: Google can’t figure out which duplicate content is the original source, and your content winds up competing against itself. For websites that have multiple pages with very similar content, there are certainly ways to indicate your preferred URL to Google— and for Drupal websites that have duplicate content, one of the best ways to fix the problem is by installing and using the Global Redirect module.
The Global Redirect module will take care of some housekeeping issues that come up when clean URLs are enabled in Drupal. In short, it’ll eliminate some of the duplicate content issues that you may not have known you had.
Here’s an example from Ben.
"Let’s say, for example, that you create a new website and create the first node that you call the About Us page. 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:
http://www.yourDrupalsite.com/
http://www.yourDrupalsite.com/?q=node/1
http://www.yourDrupalsite.com/node/1
http://www.yourDrupalsite.com/node/1/
http://www.yourDrupalsite.com/about-us
http://www.yourDrupalsite.com/about-us/
The search engines will think that you have six pages of the exact same content. That's never good. Global Redirect fixes that by redirecting all the URLs you don't want to the one URL that you do."
The Global Redirect does a few neat tricks to make this happen. According to the module’s homepage on Drupal.org, it:
For those who want to install it, but aren’t that technical, it’s pretty easy: download the module from https://www.drupal.org/project/globalredirect and configure by navigating to http://www.yourDrupalsite.com/settings/globalredirect or clicking on Admin | Site configuration | Global Redirect
Some of your options will include the following:
Best of luck to you in eliminating all of the duplicate content from your website. If you have problems with duplicate content, installing the Global Redirect module should help you rank higher in the SERPs relatively quickly; in the meantime, make sure you’re following SEO best practices. For advice or help getting your website sorted out, feel free to contact us. We’re always happy to lend a hand!