If you’re an SEO, you might be familar with canonical issue. Simply putting, you can call it duplicate content issue. In this article, we’ll be talking about various causes of canonical issue and how to fix them
So, what exactly canonical issue is ?
A given webpage can be accessed mainly through 4 URL variants :
Google considers them as 4 different pages with duplicate content. Which have a negative impact on search rankings.
How it Affects your Rankings
When Googlebot Crawls backlinks to your Website, it indexes all the pages. Now suppose, 2 versions of a page indexed by googlebot viz. website.com/page.html and www.website.com/page.html. Although, they are same to us, but Different for Google. Now Google gets confused, which one is the original page to rank well in search results.
How to resolve Canonical issue ?
To resolve canonical issue in your website, make sure every variant of your website should be redirected to the one you want to target.
#1 Use Proper canonical tags
So what is canonical tag ?
Canonical tag is simply a meta tag put in the head of your webpage. It tells the crawler that the original content for this page is located at this particular url, please don’t consider them duplicate of each other.
Please note: By default your homepage is configured as the file named index.php or index.html. Make sure the the url in the caonical tag of your homepage should be your preferred domain and no index.html or index.php in the end.