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
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
Add following canonical link for your preferred URLs which you want to be indexed.
<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.
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.