The short answer
Canonical tag mistakes hide pages when a rule points unique pages at a different URL: products at their category, page 2 at page 1, one market at another. Google often accepts the instruction, keeps the target indexed and drops the rest. No error appears, so test canonicals before every release that touches templates.
Key points
- Write the canonical rule for each page type in one line.
- Crawl one URL per page type and compare with the rule.
- Look for unique pages pointing at parents, home or page 1.
- Align sitemaps, internal links, redirects and hreflang with the canonical.
- Use absolute URLs, one tag, in the
<head>, matched by JavaScript. - Compare declared and Google-selected canonicals in URL Inspection.
- Read Page indexing statuses by template.
- Test canonicals on staging before every relevant release.
Yes, they can. The most damaging canonical tag mistakes are rules that point unique pages at a different URL: products at their category, page 2 at page 1, one market at another. Google often accepts the instruction, keeps the target indexed and drops the rest. No error appears, so the loss can run for months.
Canonical tags are rarely wrong one page at a time. They are set by templates, plugins and URL rules, so a single condition decides thousands of pages. That is why a canonical check belongs before every release that touches templates, not only in an annual audit.
This guide lists the mistakes we look for, how to spot each one, and how to test canonicals before they ship. It is one of the checks in a full technical SEO audit. See what a technical SEO audit should check.
What does a canonical tag actually do?
A canonical tag tells Google which URL you prefer to represent a set of duplicate or very similar pages. Google's canonicalization guide says it groups similar pages, picks one canonical, and normally shows only that one in results.
Two details from Google's documentation shape every mistake below:
- It is a hint. Google says "indicating a canonical preference is a hint, not a rule". Google can follow it or choose another URL.
- It is a strong one. Google's guide on specifying a canonical lists
rel="canonical"and redirects as strong signals, and sitemap inclusion as a weak one.
Google's guide also says these signals stack. So a wrong canonical that conflicts with your other signals may be overruled. A wrong canonical that agrees with your sitemaps and internal links is more likely to be followed. The second is the dangerous one.
Which canonical tag mistakes cause the most damage?
The mistakes that do most damage are the ones that apply to a whole template and point real pages somewhere else. The table lists the common ones, roughly from widest impact to narrowest.
| Mistake | What it hides | How it usually happens |
|---|---|---|
| Template rule points unique pages at a parent | Whole page types | A rule meant for variants also matches base pages |
| Every page points to the home page | Most of the site | A hard-coded canonical in a shared header |
| Paginated pages point to page 1 | Items only linked from deeper pages | An old "best practice" left in place |
| Market or language versions point to one market | Local pages in local results | Copy-pasted templates across country sites |
| Canonical points to a URL that redirects, errors or is noindexed | Unpredictable | URL changes after a migration |
| Staging, HTTP or old domain in the canonical | Depends on what Google can reach | Environment variables or hard-coded hosts |
| Two different canonicals on one page | Unpredictable | A plugin and the theme both add one |
| JavaScript changes the canonical after load | Unpredictable | Client-side routing on single-page apps |
Canonical in the <body> | The tag is ignored | Injected late by a script or widget |
How do template rules go wrong?
Template rules go wrong when the condition is wider than the problem it was written for. This is the most common serious canonical mistake on large sites.
A typical case: product variants (colour, size) create duplicate URLs. Someone writes "canonicalise to the parent". On many platforms, variants and base products use the same template, and the "parent" of a base product is its category. The rule now points every product at a category.
Our worked example on 12,000 product pages hidden by one canonical rule follows exactly this path. In the worked example, the rule shipped during a duplicate-content clean-up, 11,902 of 12,480 crawled product URLs declared a category canonical, and it went unnoticed for 94 days.
How to spot it: crawl one URL of every page type and record the declared canonical. If any page type that should rank points somewhere other than itself, read the rule that sets it.
Why is pointing page 2 at page 1 a mistake?
Because page 2 is not a duplicate of page 1. It lists different items. Google's guidance on pagination says to give each page in a series its own canonical, and not to use the first page as the canonical for the rest.
The risk is highest for items that are only linked from deeper pages. If pages 2 onward drop out as alternates of page 1, those items lose the indexed pages that link to them.
How to spot it: open page 3 of a large category and read its canonical.
What happens when signals disagree?
When signals disagree, Google has to pick, and you lose control of which URL appears. Google's guide on specifying canonicals says not to name different canonical URLs for the same page through different methods, such as a sitemap listing one URL and a rel="canonical" naming another.
Common disagreements:
- The canonical names URL A, but the sitemap lists URL B.
- The canonical names URL A, but internal links all point to URL B.
- The canonical names a URL that redirects elsewhere.
- hreflang annotations point to URLs that canonicalise to another market.
- The canonical names a page that carries
noindex.
Google's guide also says not to use noindex to stop a page being selected as canonical within a site. Use rel="canonical" for that.
How to spot it: for a sample of URLs, put the declared canonical, the sitemap URL, the main internal link target and the final URL after redirects in one row. They should all be the same address.
How do technical details break canonicals?
Small technical details can make a correct intention fail. Google's guide lists several of these directly:
- Use absolute URLs. Relative paths are supported but not recommended. A relative canonical on the wrong host or protocol points to the wrong place.
- Put the tag in the
<head>. Google only acceptsrel="canonical"there. Scripts that inject elements can push it out of the head. - One canonical per page. When a theme and a plugin both add one, you send two answers.
- Do not point to a URL fragment. Anything after
#is not a separate URL for this purpose. - Match JavaScript to the HTML. Google's JavaScript SEO basics say the canonical is best set in the HTML. If JavaScript sets it, it should match the HTML version, and only one canonical should be on the page.
Hard-coded hosts are a quieter version of the same problem. After a migration, canonicals that still name the old domain or a staging host send Google to pages that redirect, fail or should not exist.
How do you find out if canonicals are already hiding pages?
Compare what you declared with what Google chose, by page type. Four checks, in this order:
- Page indexing report. Read "Alternate page with proper canonical tag" and "Duplicate, Google chose different canonical than user" by page type. A valuable template in either one needs a closer look.
- URL Inspection. For 5 to 10 URLs per template, compare the "User-declared canonical" with the "Google-selected canonical" in the URL Inspection tool.
- Crawl. Crawl the site and export declared canonicals. Group by source pattern and target pattern.
- Performance. Check whether queries that match the affected pages lost impressions from the date the rule shipped.
See when 'Alternate page with proper canonical tag' hides pages.
Canonical problems and URL inventory problems usually turn up in the same audit, because both come from URL rules. While you read the canonicals, count the filter and parameter URLs that are indexable. If thin filter pages show up as crawled but not indexed, see crawled, currently not indexed: what it means.
How do you test canonicals before release?
Test them like any other business rule: write the expected result, and check it on staging before every release that touches templates, URLs or SEO plugins.
- Write the canonical rules down. One line per page type: "Base product: self. Variant with colour parameter: base product. Category page 2: self."
- Keep a test list. At least one URL per page type and per known variant, with its expected canonical.
- Crawl staging. Compare each declared canonical with the expected one. Any difference fails the release.
- Diff against production. Compare the staging crawl with the last production crawl. Any page type where canonicals changed must have an approved reason.
- Check the rendered page. For JavaScript templates, check the canonical after rendering, not only in the source.
- Monitor after release. Recrawl the test list in production, and watch the Page indexing report by template sitemap for two to four weeks.
Our Technical SEO service writes canonical rules in exactly this form, with acceptance criteria, so they can be tested by your team. The same check is part of every migration plan.
What not to do
- Do not copy a canonical setup from another platform without checking which pages share a template on yours.
- Do not use robots.txt to handle duplicates. Google says disallowed URLs may still be indexed without their content.
- Do not use the URL removal tool for canonicalisation. Google says it hides all versions of a URL from Search.
- Do not canonicalise pages that only look similar. Two products with one sentence of text are thin pages, not duplicates. Fix the content.
- Do not judge success by "no errors". Canonical mistakes do not produce errors.
How do you know it worked?
You know it worked when the declared canonical, the Google-selected canonical and your intent are the same for every page type. Then check:
- The Google-selected canonical in URL Inspection matches the page itself for pages that should rank.
- The count in "Alternate page with proper canonical tag" for the corrected template falls.
- Indexed pages for that template rise in its sitemap filter.
- Impressions recover for the queries those pages serve.
On a large website, keep the staging test as a permanent part of release checks. Canonical mistakes usually come back with the next template change.
Questions teams ask about canonical tags
Our SEO plugin sets canonicals automatically. Can it still be wrong?
Yes. Plugins follow rules, and the rules may not match your page types. Crawl one URL of each type and check what it declares.
Google ignores our canonical on some pages. Is that a problem?
It can be a useful warning. Google treats canonicals as a hint. If it overrules you, your other signals, such as links or sitemaps, probably point elsewhere, or the pages are not as similar as the tag says.
We fixed a canonical rule. How fast will pages come back?
It depends on how quickly Google recrawls the affected pages. Help it by listing them in a sitemap and linking them from relevant pages. Track progress per template rather than expecting a single date.
Should every page have a self-referencing canonical?
It is a sensible default for pages you want indexed, because it removes doubt when parameters are added to the URL. It does not fix duplicates on its own.
Sources
- Google Search Central: What is canonicalization
- Google Search Central: How to specify a canonical URL with rel="canonical" and other methods
- Google Search Central: Pagination, incremental page loading, and their impact on Google Search
- Google Search Central: Understand the JavaScript SEO basics
- Search Console Help: URL Inspection tool