How to use a canonical tag on your site?

Created by George R, Modified on Wed, 25 Sep at 7:57 PM by George R

Having identical or similar content on more than one URL often results in SEO issues. Using a canonical tag helps in preventing issues arising out of duplicate or similar content appearing on multiple URLs.


TABLE OF CONTENTS


Google identifies the duplicate versions to crawl sites

In case you have a single page that's accessible by multiple URLs, or different pages with similar content (e.g, a page with both a desktop and a mobile version), Google identifies these as duplicate versions of the same page and picks one URL as the canonical version to crawl that, while all other URLs will be considered duplicate URLs and crawled less often.


Using a canonical tag explicitly tells Google of the Master document

A canonical tag will act as a hidden message on a web page telling search engines that the content on a specific URL is just a copy or a duplicate of the master content. You can place the canonical tag in the header code of the master page on your site.


Here are the steps to follow:

  • List down all your duplicate URLs (in a notepad on your system)
  • Create <link rel="canonical" href="your_duplicate_url"/> for all your duplicate URLs (in your notepad on your system)
  • Open header code of the master page on your site
  • Paste links your have created in step 2
  • Click on 'Save'


Note: Use a rel="canonical" link tag: to indicate when a page is a duplicate of another page, you can use a <link> tag in the header code of the master page on your site.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article