comment 0

What & Why of Canonical URLs?

Let’s discuss what & why of canonical URLs.

Canonical URLs helps webmasters to avoid content duplication issues which usually occurred when a same web page is accessible via different URLs.

Let’s take following URLs example

  • http://aamirshahzad.net
  • http://www.aamirshahzad.net
  • http://aamirshahzad.net/index.aspx
  • http://www.aamirshahzad.net/index.aspx

All of these URLs are referring to same aamirshahzad.net home page. For search bots like google.com & bing.com these are four copies same content. They will index all four URLs as different webpages with same content.

These will causes following SEO issues.

  • Content duplication
  • Page rank sharing
  • Low site ranking
  • Low site content rating

Solution:

Add following canonical link for your preferred URLs which you want to be indexed.
Let’s assume:

<link rel="canonical" href="http://www.aamirshahzad.net/">

Add this in header of webpage. That’s all you need to do.
That’s all. Search bot is smart enough to know. It needs to consider URL which is provided in canonical link. Rest will not be indexed.

Note:
Please note that these changes should be page specific as aamirshahzad.net homepage canonical link should only be applied to this page.

In-case of any issues etc. please use comments section below or contact page.

Filed under: SEO

About the Author

Posted by

I have more than five years of experience in web designing, web development, web performance and SEO. You can reach out to me via LinkedIn or using contact form on contact page.