Canonical URL links

From Yoast and very cool:

Google, Yahoo and Microsoft have just announced a new tag, which we can use to tell the search engines which URL it should have for the current page. This is probably best explained with an example, so here goes.

Suppose you have read my Twitter Analytics post, and you’ve started tagging all the URLs you spread on Twitter with Google Analytics campaign variables. So at some point, Google enters your site through this URL:

If it did, in "old times," this would mean you'd have a duplicate content issue: the same content indexed under two different URLs. An issue SEOs have been trying to solve on web pages for ages, which sometimes created huge limitations. This is where the new tag comes in. You add this code to the <head> section of your page:

<link rel="canonical" href="" />

Read the rest of Yoast’s post and learn more about canonical URLs at Google’s official post on canonical URLs is at

To make things easy for us, Yoast has already prepared a WordPress Canonical URL plugin , as well as a Magento extension and a Drupal module! Thanks, Joost!

While I appreciate Yoast blogging about this and their work in preparing the plugin, extension and module, one small critique. Technically, this is not a new “tag,” rather it is simply a new value for the rel attribute of the existing link tag.

5 thoughts on “Canonical URL links

  1. Thanks for the post, plugin, extension and module, Joost! (And the comment of course!)

    My apologies for the small dig, and I hear you regarding brevity. I almost omitted that small technical point from my post, but after a fierce inner battle, the grammar-nazi in me won out again… :(

    Regardless, thanks again for your work. I'll be downloading and installing your WordPress plugin tonight.

  2. Hi 5ubliminal,

    I took a very brief look at your plugin, but can you provide more information on why I'd want to try your alternative when I'm happy with Joost's?

    What makes yours different/better?


  3. Pingback: The MechanismTwo for Web developers - The Mechanism

Leave a Reply