Thursday, March 4, 2010

Drupal and Canonical Urls

In Google each unique URL is indexed as a separate page. So if we have a URL: http://www.mysite.com/my-page-1 and http://www.mysite.com/my-page-1?page=3 will be indexed as separate URLs! This is a disadvantage as Google thinks we are trying to duplicate content and have multiple URLs to the same HTML content.

This is reflected in the Google Webmaster, under Diagnostics - HTML suggestions. In the webmaster HTML suggestions google points out that URL: http://www.mysite.com/my-page-1, http://www.mysite.com/my-page-1?page=3 have the same title tag. Each URL in our site should have a unique title tag.

To address this we can add a meta information in our page headers to inform Google that our main parent URL is http://www.mysite.com/my-page-1, and all clicks to any other '?page links' to be added to the parent URL. This is done by using Google's Canonical meta tags, refer:http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html, http://www.mattcutts.com/blog/seo-advice-url-canonicalization/

The Canonical meta information on our http://www.mysite.com/my-page-1?page=3  page should be: href="http://www.mysite.com/my-page-1" rel="canonical" inside link Tag.

It's not sufficient to enable Clean URL and Path auto, Global redirect modules. We must also configure our comments, View pagination, Page pagination, Auto title CCKs to have appropriate Canonical URLs to avoid getting penalized for Duplicate content and improve our site ranking.

Canonical URL integration is available in Drupal 6.0 Meta module. In Drupal 5.x there is no ready made integration. You can embed a small piece of code in the template file to achieve the same.

5 comments:

vijaycs85 said...

Thanks Shyamala. Actually we are using "noindex, follow" to identify the follow pages now.

Web Info Tech said...

Hi Shyamala,

jolly here from the http://webinfotech.info/ and I wanted to drop you a line and just compliment your blog site at http://drupal-seo-smm.blogspot.com/ There Most of blog posts are Very Interesting. I was looking around at a few different compliment blogs and definitely thought your's was one of the best.

I'd appreciate if you could please give the website http://webinfotech.info/ a link to it from your blog so that 'd be great.I'm sure this would surely benefit your site visitors,as Web designing services and web site creation planing, Suggestion for promoting on the web through the SEO, Strategy, Planing for Growth their business..And also my site visitors 'll know more regarding your BLOG.

Details Our Website:-

Title:- Seo Company India - Seo Services India - Seo Consultant India - Seo Firm India
Url:- http://webinfotech.info

Please let me know your thoughts on my suggestion,and thanks for all your time.

I look forward to hearing from you soon.

Have a nice day ~

Regards,
Jolly Dutta
Business Development,Web-info Tech Solutions, LLC
http://webinfotech.info/images/logo.gif
Website:-http://webinfotech.info/
Email:- webinfotechsol04@gmail.com
,

I found your most of blog posts are very interesting.i am jolly dutta,a community member at http://webinfotech.info/ (We are specific 'SEO' company in india also providing Web designing services and web site creation planing, Suggestion, Strategy, Planing for Growth our client business).Will like to talk(through email) to you,is this the right time to talk about or should we talk during weekends ?

Have a nice day ~

Regards,
Jolly Dutta

Website:-http://webinfotech.info/
Email:- webinfotechsol04@gmail.com

seo company India said...

Thanks for sharing information about SEO services in which what are the importance of Google webmasters and important points,and nice info ant Blog spot
SEO India

Nitin Rathod said...

Hello Friends.........

Great information.Thanks for sharing this useful information with all of us.Keep sharing more in the future.

Have a nice time ahead.

Thanks
seo services India
seo services in Ahmedabad

madhu m said...

You really delivered reliable information. It will be interesting and useful for those who are searching. It's correct place to find info, thank you regarding discussing information. seo services in hyderabad