Short answer: A canonical tag (rel="canonical") is a snippet of HTML that tells search engines which URL is the master version when the same or very similar content is reachable at several addresses. It consolidates duplicate signals onto one preferred URL so the right page ranks instead of competing copies.

The problem canonicals solve

The same content often lives at more than one URL without anyone intending it. Tracking parameters, session IDs, HTTP and HTTPS versions, trailing slashes, uppercase and lowercase paths, print versions and filtered category pages can all produce distinct URLs serving near-identical content. To a search engine these look like duplicates, and duplicates cause two problems: crawl effort is wasted on copies, and ranking signals — including the value of any links pointing in — get split across versions instead of pooling on one strong page.

The canonical tag is how you say: “All of these are the same page — treat this URL as the real one.” It is a core piece of technical SEO and one of the first things worth checking when a page mysteriously loses visibility. Duplicate content, to be clear, is rarely a penalty; it is usually just a dilution and efficiency problem, and the canonical is the tidy solution.

What the tag looks like

A canonical is a single line in the <head> of the page:

<link rel="canonical" href="https://example.com/preferred-page/" />

Every duplicate version points its canonical at the same preferred URL. The preferred page usually points at itself — a “self-referencing canonical” — which is good practice for essentially every indexable page, because it removes any ambiguity about which URL you consider the real one even before duplicates appear.

A hint, not an order

Crucially, Google treats rel="canonical" as a strong hint, not a directive. It combines your canonical tag with other signals — internal links, redirects, sitemap entries, HTTPS preference, even which URL has more inbound links — to pick the URL it actually indexes. If those signals contradict your canonical, Google may choose differently, and you will see the disagreement in Search Console as a “Google-selected canonical” that differs from your declared one. The lesson: make every signal agree rather than relying on the tag alone. Google’s documentation on consolidating duplicate URLs is the authoritative reference here.

When to use each consolidation method

The canonical tag is one of several tools for handling duplicate or unwanted URLs, and using the wrong one causes problems. Match the tool to the situation.

Situation Best tool Why
Same content, multiple URLs, all should stay reachable rel=”canonical” Consolidates signals without blocking access
Page permanently moved 301 redirect Sends users and signals to the new URL
Page should not be in search at all noindex Removes it from the index entirely
Cross-domain syndication of your content rel=”canonical” to your original Credits the source you control
Faceted / filtered URLs with no unique value canonical or noindex Prevents index bloat from parameter combos

Canonicals across domains and languages

Canonical tags can point across domains, not just within one site. If you syndicate an article to a partner site, the copy on their domain can carry a canonical pointing back to your original, so search engines credit the source you control. Used honestly, cross-domain canonicals are a legitimate way to publish the same content in more than one place without competing against yourself.

One thing a canonical is not for is handling different languages. If two pages are genuine translations of each other, they are not duplicates — they serve different audiences — so they should each self-canonicalise and be linked with hreflang instead. Pointing a French page’s canonical at the English version would tell Google to drop the French page from the index, which is the opposite of what you want. Keep canonical for true duplicates and hreflang for language and region variants.

Where the canonical can live

Most canonicals sit in the page’s HTML head, but for non-HTML files like PDFs — which cannot contain a head tag — you can send the same signal in the HTTP response header using Link: rel="canonical". This is an advanced case, but it is worth knowing that a downloadable document competing with an HTML page can be consolidated the same way. For ordinary pages, the HTML tag is simpler and the one to reach for.

Common canonical mistakes

Because a canonical quietly changes which URL Google indexes, a mistake can vanish good content without any obvious error message. These are the ones that catch people out:

  • Canonical to the home page. A template bug that points every page’s canonical at the home page can wipe deep content out of the index in one deployment.
  • Canonical to a noindexed URL. You are telling Google the master version is a page it should not index — a contradiction that can drop the whole cluster.
  • Chained or broken canonicals. Pointing A→B when B points to C, or to a 404, muddies the signal and slows consolidation.
  • Mixed signals. Canonical says one URL, internal links and sitemap say another. Google may simply ignore your canonical.
  • Canonicalising pagination to page one. Hides items that only appear on later pages, so those products or posts never get indexed.

If a page that used to rank has quietly vanished, check its canonical first. It is one of the most frequent culprits, precisely because it fails silently — there is no broken link or error page to alert you. Our walkthrough on how to diagnose a page that lost rankings treats canonicals as an early suspect.

How to check your canonicals

  1. View source. Look in the <head> for the rel="canonical" line and confirm the target URL is the one you want indexed.
  2. Use URL Inspection. In Google Search Console, compare the “user-declared” and “Google-selected” canonical for a URL. A mismatch tells you Google disagreed with you and why to look closer.
  3. Crawl the site. An SEO crawler flags pages that canonicalise elsewhere, canonical chains, and self-reference gaps across the whole site at once, which is far faster than checking pages by hand.
  4. Keep signals aligned. Make sure internal links, the XML sitemap and any redirects all point at the same canonical URL, so nothing contradicts the tag.

Canonicals and the rest of your setup

A canonical works best when the rest of your site agrees with it. Three habits keep everything pointing the same way. First, pick one URL format and stick to it — decide on HTTPS, whether you use www, and whether URLs have trailing slashes, then redirect the alternatives so only one version is ever served. Second, make sure internal links use that same canonical format rather than a mix of variations, because internal links are one of the signals Google weighs. Third, list only canonical URLs in your XML sitemap. When URL format, redirects, internal links, sitemap and canonical tag all name the same address, Google has no reason to overrule you, and consolidation happens quickly and predictably.

Canonicals and link equity

Because canonicals consolidate signals, they also affect how link authority flows. If external sites link to a duplicate URL, canonicalising it to your preferred page helps those signals pool where you want them — one reason consistent URLs matter when you earn or place links. If you build links deliberately, sending them to the canonical version avoids splitting value across near-identical pages; our guide to evaluating backlink quality and the link insertions service both assume you have your canonical house in order first, so the authority you earn lands on one strong URL rather than three weak ones.

The bottom line

The canonical tag is a small piece of HTML with outsized consequences. Used well, it tidies up duplicate URLs and concentrates ranking signals on the page you actually want to rank. Used carelessly, it can quietly remove good content from search with no warning. Give every indexable page a correct, self-referencing canonical, keep all your signals consistent, and audit them regularly — ideally as part of a full SEO audit or a professional audit service. The tag rewards attention and punishes neglect: a single template change can rewrite thousands of canonicals at once, for better or worse, so treat any deployment that touches page templates as a reason to re-check them. Done right, though, canonicals are quiet infrastructure — you set them correctly, keep your signals aligned, and let them quietly concentrate authority on the pages that matter most. For how it all connects to strategy, see the SEO strategy guide.

Frequently asked questions

Is a canonical tag a command or a hint?

It is a hint. Google treats rel=canonical as a strong signal but reserves the right to choose a different canonical URL if its own signals disagree — for example if your internal links, sitemaps and redirects point elsewhere. Keep all your signals consistent so Google follows your intended canonical.

Does every page need a canonical tag?

It is good practice for each indexable page to have a self-referencing canonical pointing to itself. This prevents parameter and duplicate versions from competing and makes your intent explicit, even when there is no obvious duplicate.

What is the difference between canonical and noindex?

A canonical tag consolidates duplicates into one preferred URL that you still want indexed. Noindex removes a page from the index entirely. Use canonical for "these are the same, index this one"; use noindex for "keep this page out of search".

Can a canonical tag hurt my SEO?

Yes, if it points to the wrong URL. A canonical aimed at the home page, a broken URL, or a noindexed page can push your good content out of the index. Incorrect canonicals are one of the most common causes of pages silently disappearing from search.

Should paginated pages canonical to page one?

Generally no. Each page in a paginated series should usually self-canonicalise, because pages two, three and beyond contain different items. Canonicalising them all to page one can hide that content from Google. Treat pagination case by case.