WordPress Canonical URLs : How They Work!

This Simple WordPress Tutorial will give you brief explanation about WordPress Canonical URLs & How They Work!

Using Canonical Link Element in WordPress helps you in preventing content getting duplicated across the web & using this tag you can specify which URL is original/authoritative doing so only that URL will be indexed by the Search Engines.

According to Matt Cutts : Canonicalization is the process of picking the best url when there are several choices.

All major search engines(Google, Yahoo and MS Live) have come up together with canonical URLs to fight the problem of duplicate content on a site.

WordPress Canonical URLs  How They Work!

How WordPress Canonical URLs work:

Below is simple example illustrating the use of Canonical element in WordPress & it will walk you though with the help of a simple example.

Mark Jaquith has developed & integrated canonical tags into WordPress platform.You can see this feature live from WordPress versions 2.3 & beyond.

Canonical Link Element will be placed by the webmasters in the <head> section of the WordPress web page & it tells which WordPress page is authoritative & original & it will also redirect to that link if accessed by a different link.

Example : <link rel="canonical" href="http://www.example.com/" />

If you are using Fancy Custom Url’s (Permalink Structure) in WordPress then the same URL can be accessed using different set of URL’s.

For example :

The below webpage can be accessed using the below links, but all the time you will see the same content because of enabling Canonical URLs in WordPress & you will get redirected to the first link if you access any of the other 4 URL’s.

I have enabled Canonical URL’s on my WordPress website & have some thing like this for the particular webpage.

<link rel="canonical" href="http://bloghunk.com/cyber-monday-hostgator-promotion-50-off-on-hosting-packages.html" />
  1. http://bloghunk.com/cyber-monday-hostgator-promotion-50-off-on-hosting-packages.html
  2. http://bloghunk.com/cyber-monday-hostgator-promotion-50-off-on-hosting-packages.html
  3. http://bloghunk.com/?p=1935
  4. http://bloghunk.com/index.php?p=1935
  5. http://bloghunk.com/index.php?p=1935

Hope you got an Understanding of what is Canonical URL & how that Works on WordPress website.

Looking to Learn How to Manage,Maintain & tweak WordPress then you are in the right place.Navigate through this Link for  Excellent List of WordPress Tutorials.

Readers! Are you using Canonical Url’s on your WordPress site, If so please let us know how did you implemented it by Leaving a comment below and let me know what you think of this!