Technical SEO
The canonical tag is one line of HTML that answers a question every multi-URL site eventually faces: when several addresses serve the same (or nearly the same) content, which one is the page? Get it right and equity and rankings consolidate onto your chosen URL; get it wrong and you can quietly de-index whole sections — canonical mistakes are among the most damaging in technical SEO precisely because nothing visibly breaks. Here's the complete explanation, the correct patterns, and the mistakes that recur everywhere.
What rel=canonical does
<link rel="canonical" href="https://example.com/page/" /> in the head declares: "the primary version of this content lives at this URL — consolidate signals there." Google treats it as a strong hint, not a directive (it can and does override canonicals it finds implausible), folding the variants' signals into the chosen URL during the indexing stage. It exists because duplication is structural on the web — parameters, sessions, print views, syndication — and the alternative (letting Google guess) sometimes picks the version you'd least prefer.
The correct patterns
- Self-referencing canonicals everywhere. Every indexable page canonicals to itself — the baseline that inoculates against parameter and tracking-URL duplication automatically (?utm_source= variants all point at the clean URL). Every serious CMS does this by default; verify yours does.
- Variants point at the primary. Filtered/sorted views → the base listing; print pages → the article; http/www variants → the one true form (though those belong in 301s, not canonicals — see below).
- Cross-domain canonicals for syndication. Republishing content elsewhere (Medium-class platforms, partner sites) with a canonical back to your original keeps the rankings home — the deal described in the platform publishing rules.
- Absolute URLs, one per page, in the head. Relative canonicals and multiple conflicting tags are how plausible-looking markup does nothing.
Canonical vs the neighbouring tools
The decision grid that resolves most confusion: 301 redirect when the variant shouldn't exist for users (site moves, http→https, retired URLs) — consolidation with teeth; canonical when both URLs must keep working for users but only one should rank (filters, prints, tracking) — consolidation with coexistence; noindex when a page should exist but never rank and isn't a duplicate (thin utility pages) — exclusion, not consolidation. Using canonical where a redirect belongs leaves duplicate URLs alive to be linked and shared; using noindex where canonical belongs throws away the variant's signals instead of consolidating them.
The recurring mistakes
- The site-wide canonical-to-homepage. A templating bug canonicals every page to the root — Google eventually believes enough of it to fold your site into one URL. The single most destructive canonical error; caught instantly by any crawl that reports canonical targets.
- Canonicalising paginated series to page one. Page 2+ of a listing isn't a duplicate of page 1 — canonical each page to itself (pagination is navigation, not duplication).
- Canonical + noindex on the same page. Contradictory instructions ("consolidate me" + "exclude me"); Google resolves it unpredictably. Pick one per the grid.
- Canonicalising to redirects or 404s. The declared primary must be a live 200 — chains of canonical→redirect→page get partially honoured at best.
- Blocking canonicalised variants in robots.txt. Google must crawl the variant to see its canonical; blocked variants stay unconsolidated forever.
- Expecting canonicals to fix cannibalization. Two genuinely different pages competing for one query need the merge/differentiate playbook — canonical is for duplicates, and Google ignores implausible ones between distinct pages.
Auditing canonicals
Quarterly, per the checklist: crawl the site reporting canonical URLs (any crawler surfaces mismatches at scale — sort by "canonical ≠ self" and review the list), and in Search Console use URL Inspection's "Google-selected canonical" on key templates — the one report that reveals when Google is overriding your declaration, which is always worth understanding: it usually means your duplication story doesn't match reality (often a content sameness you didn't know about).
Frequently asked questions
Does the canonical tag pass link equity like a 301?
Functionally yes when honoured — signals consolidate to the canonical target. The "when honoured" caveat is the difference: redirects are deterministic, canonicals are trusted suggestions.
Can I canonical across very different pages to consolidate rankings?
Google will likely ignore it — plausibility is checked. Genuine consolidation of distinct pages is a merge-and-301 job.
My canonical is correct but Google picked another URL. Why?
Stronger signals point elsewhere — more internal links, more backlinks, or inclusion in the sitemap under the other form. Align every signal (links, sitemap, canonical) on one URL and Google follows. Consistency is the whole trick — here as everywhere in this silo, with the authority itself supplied the usual way: earned, with help if wanted.