Welcome to WebmasterWorld Guest from 54.167.46.29

Message Too Old, No Replies

Canonicalisation tag on which page?

     
4:04 pm on May 3, 2012 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 20, 2009
posts: 98
votes: 0


Hey Guys,
Ok i've finally decided to rewrite my urls using apache, this means i will have tons of duplicate content.
Now Im not entirely sure how this works but all I know is I should use canonicalistion for same page.
Ok so:
old page:
page.php?id=11&p=books

new page:
page-11-books


both the above pages will have the same content so which page should have that canonicalisation tag?
any help much appreciated.
11:01 pm on May 3, 2012 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member andy_langton is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 27, 2003
posts:2979
votes: 37


The principle is that you only want Google to find one URL per item of content that you have. And you use the canonical tag to reference your preferred URL for that content.

From the above, I would assume that's going to be page-11-books.

A more robust solution would be to force your preferred URL format with a 301 redirect. For guidance on that, check the Apache forum [webmasterworld.com] where there are plenty of code examples already :)