Skip to the content

Canonical tags

Tell search engines which address is the main one when the same content lives at several. A strong hint, not a command.

What you will be able to do

Spot duplicate addresses on your product, tell search engines which one is the main version, line every other signal up behind it, and check which version Google actually chose.

How it reaches growth

  1. Canonical tags
  2. Search engines group duplicate addresses and pick one to show
  3. When they pick the page you intended, links and other signals add up on that page
  4. The page that ranks is the one built to convert, and it ranks with its full strength
  5. More organic visits land where they turn into signups
  6. More signups and revenue from search

What it is

The same content often lives at more than one address: with and without tracking parameters, sorted and unsorted, with a trailing slash and without, on http and https, as a print version. Search engines group such addresses together and choose one to represent them all. Google calls this canonicalization, and the chosen address the canonical.

A canonical tag is a link element in a page's head, rel="canonical", that names the address you prefer. For files that are not web pages, such as PDFs, the same preference can be sent in an HTTP header.

Some duplication is normal. Google says duplicate content on a site is not a violation of its spam policies; the only question is which address gets shown.

How it works

Google says naming a canonical is a hint, not a rule. It clusters duplicate pages and picks the one it judges most complete and useful for searchers, and it may choose a different page from yours.

It weighs several signals. In Google's own order of strength: a redirect is a strong signal that its target should be canonical; a rel="canonical" annotation is a strong signal; listing an address in a sitemap is a weak one. Google also prefers https over http unless something conflicts, such as an invalid certificate, a redirect from https to http, or an https page naming an http canonical. The signals add up, so they work best when they all point the same way.

The choice matters beyond which address is shown. Google says naming a canonical helps consolidate signals, such as links, into one preferred address, and that the canonical page is crawled most regularly while its duplicates are crawled less often.

Results usually point to the canonical, unless a duplicate suits a searcher better, such as a mobile page for someone on a phone.

Why it matters for growth

Organic growth needs the right page to rank with its full strength. When the same product page lives at four addresses, links and other signals can be split between them, and the address that ranks may be a version with tracking parameters, a print view or a sorted list, instead of the page designed to sell.

So canonicalization reaches revenue twice: through ranking, because signals add up on one page, and through conversion, because searchers land on the version you built for them.

How to check it

  1. Take your most valuable pages and list every address that shows the same content: parameters, sorting, letter case, trailing slashes, http and https.
  2. Check each page's canonical tag. It should name the full https address of the main version, and the main version should name itself.
  3. Check that the other signals agree: internal links point to the main address, the sitemap lists only it, redirects end at it.
  4. In Search Console's URL Inspection, compare the canonical you declared with the one Google selected. Where they differ, find the signal that disagrees.

Rules of thumb

  1. Put a canonical tag on the main page itself, pointing to itself.
  2. Use the full address, with https and the domain, not a relative path.
  3. Make every signal agree: canonical tag, internal links, sitemap and redirects all name the same address.
  4. To get rid of a duplicate for good, redirect it permanently rather than only tagging it.

Rules of thumb are starting points for a decision, not laws.

Common mistakes

  • Using robots.txt to pick a canonical. Google may still index disallowed addresses, and cannot read a tag on a page it does not fetch.
  • Using noindex to pick between duplicates on one site, which removes the page from search entirely.
  • Naming one address in the sitemap and another in the canonical tag.
  • Letting JavaScript change the canonical tag after the page loads. Google advises against it.
  • Naming an address with a fragment (#) as the canonical.

A worked example

A made-up shoe store's best-selling running shoe can be reached at four addresses: the product page, the same page with a campaign tracking parameter, a version reached through a sorted category list, and an old http address. Other sites link to all four, because people copy whatever address is in their browser.

The store's analytics show that visitors who land on the product page itself buy at 3%, while those who land on the sorted-list version first buy at 1.5%, because it opens on a list rather than on the shoe. Suppose search sends 10,000 visits a month to this shoe, and Google has chosen the sorted-list version as the canonical: about 150 sales a month.

With a self-referencing canonical on the product page, a permanent redirect from the old http address, internal links pointing only to the product page, and only that address in the sitemap, every signal agrees. If Google then picks the product page and the same 10,000 visits land there, sales rise to about 300 a month, before any gain in ranking from the links adding up.

The business and its numbers are made up to show the arithmetic.

Practise it: 7 simulations

Each simulation is a different made-up company or site, with the same skill at its heart. Play one here, or open it on its own page. The numbers change every time you play.

On your own product

  1. Take your top ten pages by revenue.
  2. For each, compare the declared and the Google-selected canonical in URL Inspection.
  3. Where they differ, list the signals that point elsewhere, and fix the one that disagrees.

Questions

Will Google always follow my canonical tag?

No. Google treats it as a strong hint and may choose another page, especially when other signals disagree.

Should every page have one?

Google recommends a canonical tag on the canonical page itself. A self-referencing tag on every main page is a sensible default.

Canonical tag or redirect?

A redirect removes the duplicate for visitors and search engines alike, and is a strong signal. Use it when the duplicate does not need to exist. Use a canonical tag when it does, such as a version with tracking parameters.

What about language versions?

Translated versions are separate pages, not duplicates; Google counts them as duplicates only when the main content is not translated. Link them with hreflang. Google says a rel="canonical" link carrying an hreflang attribute is not used for canonicalization.

More in Technical SEO