SEO foundations

Canonical tags, explained simply

Updated June 25, 2026 · 4 min read

The short answer

A canonical tag (rel=canonical) is a line in a page's HTML that tells search and AI engines which URL is the master version when several pages are identical or very similar. It consolidates ranking and citation signals onto the URL you choose, so duplicates don't compete with each other or split your authority.

Key takeaways

  • A canonical tag names the master URL among duplicate or similar pages.
  • It consolidates ranking signals onto one URL instead of splitting them.
  • It's a strong hint, not an absolute command - engines can override an illogical one.
  • Every page should usually canonicalize to itself unless it's a genuine duplicate.
  • A wrong canonical can quietly hide a page you wanted indexed.

What a canonical tag is for

Websites generate duplicate and near-duplicate URLs constantly - tracking parameters, print versions, http and https, www and non-www, faceted filters. Left alone, these compete with each other and split the authority that should accrue to one page. The canonical tag resolves the conflict by declaring: 'of this set, treat this URL as the original.' Engines then consolidate signals onto that URL and treat the rest as alternates.

How to use it correctly

The rules are simple, and most canonical problems come from breaking one of them.

  • Self-canonicalize: a unique page should point its canonical at itself.
  • Point duplicates to the master, not the master to a duplicate.
  • Use absolute URLs, and be consistent about http/https and www.
  • Don't canonicalize a page to an unrelated or only loosely similar page.
  • Keep canonicals consistent with your sitemap and internal links.

Canonical vs noindex vs redirect

These three tools solve different problems and shouldn't be confused. Use a canonical when two pages should both exist but one is the master for ranking. Use noindex when a page should be crawlable but never appear in results. Use a 301 redirect when a page has genuinely moved and the old URL should cease to exist. Reaching for the wrong one - say, canonicalizing pages that should redirect - leaves engines guessing.

Why a bad canonical is dangerous

Because the canonical tells an engine which URL to keep, an incorrect one can silently remove a page from results: if page A wrongly canonicalizes to page B, A may never be indexed on its own. It's a common, hard-to-spot mistake - the page looks fine, ranks for nothing, and the cause is one line in the head. The same applies to AI citation: an engine consolidates onto the canonical, so point it at the version you actually want quoted.

Frequently asked questions

Is a canonical tag a command or a suggestion?

It's a strong hint. Engines usually honor a sensible canonical, but they can override one that contradicts other signals - for example, if the 'canonical' page is clearly different from the one pointing to it. Keep canonicals logical so they're trusted.

Should every page have a canonical tag?

It's good practice for every page to declare a canonical - usually pointing to itself - so there's no ambiguity. The critical cases are pages with duplicate or parameterized variants, where the canonical consolidates them onto one URL.

What's the difference between canonical and noindex?

A canonical says 'this other URL is the master, consolidate onto it' while both pages can still exist. Noindex says 'never show this page in results' regardless of duplicates. Don't combine them on the same page - the signals conflict.

Put this into practice — free.

Get your free AI-visibility audit and see where engines find you today.

Free audit · public pages only · no credit card

Keep reading