
A canonical tag is a small piece of HTML — <link rel="canonical" href="..."> — placed in a page’s header that tells search engines which version of a page should be treated as the original when duplicates or near-duplicates exist. It doesn’t hide the other versions from visitors; it simply tells Google which one deserves the ranking credit.
Some of the most confusing lines of code on the web are also some of the most powerful — a canonical tag looks like nothing at all, yet it can single-handedly decide which version of a page Google actually trusts and ranks.

Why Canonical Tags Exist
Modern websites frequently generate multiple URLs pointing to essentially the same content — through URL parameters, filtering, sorting, session IDs, or simple technical quirks like www versus non-www. Without a canonical tag, search engines have to guess which version matters most, splitting ranking signals across duplicates instead of consolidating them into one strong page.
When You Actually Need a Canonical Tag
- An e-commerce product reachable through multiple category URL paths.
- Pages with tracking parameters (like
?utm_source=) creating technically different URLs for identical content. - Printer-friendly or alternate device versions of the same page.
- Content syndicated to or republished on other websites.
- Paginated content, where each page should often self-canonicalize.
- View page source and search for
rel="canonical"— it should point to the page itself unless it’s a genuine duplicate. - Use Search Console’s URL Inspection tool — it shows Google’s own view of which URL it considers canonical, which can differ from what your tag says if other signals disagree strongly enough.
- Check the Pages report in Search Console under Indexing — pages excluded as “Alternate page with proper canonical tag” confirm Google is consolidating signals correctly rather than treating them as separate competing pages.
- Pointing a canonical tag to the wrong page entirely, accidentally deindexing the intended one.
- Using canonical tags across genuinely different content — they should only point to true duplicates or near-duplicates.
- Contradicting the canonical with a conflicting entry in the sitemap or robots.txt.
- Forgetting to update canonicals after a URL structure change or site migration.
- Duplicate Content: What Causes It and How to Fix It
- The On-Page SEO Checklist: 15 Things to Check Before You Hit Publish
- Internal Linking Strategy: How to Structure a Site Google Understands
- Google Search Console 101
Self-Referencing Canonical Tags
Every indexable page should have a canonical tag pointing to itself, even when there is no duplicate. This is standard best practice — most SEO plugins, including Yoast, do this automatically for every page and post by default, closing off potential duplication issues before they start.
How to Check Your Site’s Canonical Tags
Common Canonical Tag Mistakes
Want your site checked for canonical tag errors? Request a free technical audit.
A misconfigured canonical is one of several reasons a page can stay out of Google’s index, see the full list in why a page is not indexed on Google.
Does a canonical tag guarantee Google will honor it?
Usually, but not always — Google treats it as a strong hint rather than an absolute directive, and may choose a different URL if other signals (internal links, sitemap entries, external backlinks) strongly disagree with the tag.
Is a canonical tag the same as a 301 redirect?
No — a redirect sends visitors and search engines to a different URL entirely, and the original stops being accessible. A canonical tag lets both versions stay live and visitable while indicating which one should get the ranking credit.
Do I need to add canonical tags manually?
Rarely — most modern CMS platforms and SEO plugins, including WordPress with Yoast, generate self-referencing canonical tags automatically for standard pages. Manual canonical tags are mainly needed for cross-domain duplicates or custom-built pages outside the CMS.
Related Reading
This is one item on a longer list — see the full technical SEO checklist for everything else worth checking before trusting a site is technically sound.