Canonical URLs and the new rel="canonical" link tag

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
nhaack

Canonical URLs and the new rel="canonical" link tag

Post by nhaack »

Hi there,

for those worrying about canonical URLs and duplicate content, Google has introduced a new tag that can help you to specify your preferred URL.

Just embed it in your "duplicate" pages and state your preferred URL.

Code: Select all


	<link rel="canonical" href="http://www.example.com/product.php?item=swedish-fish" /> 

I think there is no need to repeat the full story here, so if you are interested, read all the details over at the webmaster central blog: http://googlewebmastercentral.blogspot. ... nical.html

Additional reading: Demystifying the "duplicate content penalty": http://googlewebmastercentral.blogspot. ... nalty.html

Might not be nesseccary for everyone, but definitely worth checking out for those who have problems.

Best
Nils

_____
edit: better belongs to lounge I think
Last edited by nhaack on Fri Feb 13, 2009 11:04 pm, edited 1 time in total.
Post Reply

Return to “Developers Discussion”