Join the waitlist and get Sublim Business free for 3 months  Claim offer

SEO & Acquisition

Canonical tag: definition, usage, and common mistakes

Guillaume Sallé
Guillaume Sallé
Analytics Content & Glossary Lead

Updated on February 22, 2026

Quick definition

The canonical tag is an HTML tag placed in the `<head>` section of a web page that tells search engines which URL should be considered the reference version when several URLs serve identical or very similar content. It is an essential tool to manage duplicate content and consolidate SEO signals on a single URL, via the `rel="canonical"` attribute.

How it works

The canonical tag is placed in the `<head>` of a page using the syntax `<link rel="canonical" href="https://www.mysite.com/reference-page/">`. It solves a common problem: the same content accessible through several different URLs.

This often happens in these situations:

  • URL parameters (filters, sessions, UTM tracking)
  • HTTP/HTTPS or www/non-www variants
  • URLs with or without a trailing slash
  • Syndicated content on multiple domains
  • Product variants in e-commerce (colors, sizes)

Concrete example: an online store sells a pair of jeans available in blue, red, and black. Each variant has its own URL but shares the same base content. By adding `rel=canonical` pointing to `/slim-jean` on each variant, the site consolidates SEO signals onto the main page and avoids diluting authority.

The canonical tag also works cross-domain: if you syndicate content on another site, that site can include a canonical pointing to your original URL to credit you with the authority. It is a recommendation, not a strict directive — Google may choose not to honor it.

Why it matters

Duplicate content is one of the most common and damaging technical SEO issues: it dilutes authority across several URLs, forces Googlebot to waste crawl budget on useless variants, and can lead Google to index the wrong version of the page.

The canonical tag is the most elegant solution because it lets you keep all URLs functional (for UX or tracking) while consolidating SEO signals — unlike a 301 redirect, which makes the original URL inaccessible.

Proper implementation is particularly critical for e-commerce sites (product variants), multilingual sites, and content platforms that syndicate their articles.

How to improve or use it

  1. 1Ensure every page includes a self-referential canonical tag (pointing to itself) to avoid ambiguity.
  2. 2On duplicate pages, point the canonical to the reference version — never to a non-indexable page.
  3. 3Avoid canonical loops (A canonical to B, B canonical to A) and long chains (A > B > C > D).
  4. 4Use absolute URLs (with `https://`) in your canonical tags — never relative URLs.
  5. 5Regularly audit your canonicals with Screaming Frog or Google Search Console to detect silent errors.
  6. 6Combine canonical tags and XML sitemap: only include canonical URLs in your sitemap.

With Sublim

Sublim helps you identify which pages on your site actually drive organic traffic and which remain orphaned despite being indexed. By combining this view with a canonical-tag audit, you quickly detect cases where the wrong URL is capturing traffic instead of your reference page. Cookieless analysis, 100% GDPR-compliant, hosted in Europe.

Frequently asked questions

What is the difference between a 301 redirect and a canonical tag?

A 301 redirect permanently sends users AND bots to a new URL, making the old URL inaccessible. The canonical tag, on the other hand, keeps the URL accessible (users can reach it) while telling search engines that another URL is the reference version. Use 301 when you want to permanently remove a URL, canonical when you want to keep it functional.

Does Google always respect the canonical tag?

No, the canonical tag is a 'hint', not a strict directive. Google may decide to ignore it if it considers that the designated canonical page is not the best representative of the content (for example if it is blocked by robots.txt, set to noindex, or loads poorly). To increase the chances Google honors your canonical, make sure the designated URL is reachable, fast, and not blocked.

Can a page have a canonical pointing to another domain?

Yes, cross-domain canonicals are supported by Google. If you syndicate original content from your site on another domain, that site can include a canonical pointing to your original URL. This lets your site receive the SEO authority of the content even if it is published elsewhere. It is a common practice in editorial partnerships.

Related terms

Canonical tag: definition, usage, and common mistakes, Sublim | Sublim Analytics