What is canonical tag in SEO ?

1 Answers

Rahul Roi
Rahul Roi

A canonical URL is also known as a canonical tag.

The canonical tag (rel=“canonical”) is a snippet of HTML code that defines the main version for duplicate, near-duplicate and similar pages.

Into other words, if you have the same or similar content available under different URLs, you can use canonical tags to specify which version is the main one and thus, should be indexed.

The canonical tags use simple and consistent syntax, and are placed within the <head> section of a web page:

<link rel=“canonical” href=“https://example.com/sample-page/” />

Here’s what each part of that code means in plain English:

  1. link rel=“canonical”: The link in this tag is the master (canonical) version of this page. 

    2. href=“https://example.com/sample-page/”:  The canonical version can be found at this URL.

Canonical tags important for SEO

Where the Google doesn’t like duplicate content. That makes it very harder for them to choose:

  • Which version of a page to index (they’ll only index one!)
  • Which version of a page to rank for relevant queries.
  • Whether they should consolidate “link equity” on one page or split it between multiple versions.

Answer