Skip to content
mirok

Canonical tag

The canonical tag (<link rel="canonical">) tells search engines which URL is the reference version of a page when the same content is available at several addresses. It helps consolidate ranking signals on a single URL.

Why is the canonical tag important?

The same content often ends up under several URLs without you intending it: tracking parameters (?utm_source=...), sort filters, with or without a trailing slash, http and https, print versions. Without guidance, the engine picks the version to index itself, and incoming links are spread across the variants.

The canonical tag is a strong signal, not a directive: Google may choose a different canonical URL if other signals (redirects, internal links, sitemap) contradict it. Search Console's URL Inspection tool shows both the declared canonical and the one Google selected.

On a multilingual site, each language version should declare its own URL as canonical and be linked to the others with hreflang tags.

How do you use the canonical tag correctly?

  1. 1Add a self-referencing canonical on every indexable page, using an absolute https URL.
  2. 2On variants (parameters, filters, duplicates), point the canonical to the main URL.
  3. 3Align every signal: internal links, sitemap and redirects should all lead to the canonical URL.
  4. 4Put the tag in the <head> of the initial HTML, not only through JavaScript.
  5. 5Check the Page indexing report in Search Console for pages where Google chose a different canonical than yours.

What canonical tag mistakes should you avoid?

  • Pointing every page of a paginated series to page 1: later pages need their own canonical.
  • Combining noindex with a canonical to another page: the signals contradict each other.
  • Using relative or http URLs on an https site.
  • Declaring several different canonical tags on the same page.
  • Pointing a translated version to the original-language version.