Blog / Technical SEO /

What to do when Google ignores your canonical tag

You set a canonical tag pointing at the main version of a page. A few weeks later, Search Console’s Page indexing report says: “Duplicate, Google chose different canonical than user.” Google has looked at your instruction and politely ignored it.

Rude? Not really. A canonical tag is a hint, not a directive. Google weighs it against other signals and picks the URL it thinks best represents a set of duplicates. Most of the time it agrees with you. When it doesn’t, your other signals are usually pointing somewhere else.

So the fix is rarely “add a stronger canonical”. It’s making every signal say the same thing.

First, confirm what’s happening

Open URL Inspection in Search Console and paste the page you’re worried about. Under “Page indexing”, you’ll see two lines:

  • User-declared canonical: what your tag says.
  • Google-selected canonical: what Google picked.

If they match, there’s no problem. If they don’t, note which URL Google chose, because that’s your clue. The URL Inspection tool walkthrough covers the rest of that screen.

Also check the Page indexing report for the “Duplicate, Google chose different canonical than user” status and look at the examples. Is it one page, or a pattern across a template?

Is it actually a problem?

Sometimes Google’s choice is harmless. Say you set the canonical to https://example.com/shoes/ and Google picks https://example.com/shoes without the slash. The right content is still indexed. I’d tidy the inconsistency when I get to it, but it isn’t urgent.

It is a problem when Google picks:

  • a parameter URL (?ref=newsletter, ?variant=123) instead of the clean one
  • an HTTP or non-www version you thought you’d retired
  • a different page entirely, like a category instead of a product
  • a staging or old domain

The usual reasons, and what to do

If your menu, breadcrumbs or product grids link to /products/blue-shirt?variant=123, Google sees you treating that URL as the main one. Internal links are a strong signal.

Fix: update internal links so they all point to the canonical URL. On Shopify, check whether your theme links to products through collection paths (/collections/shirts/products/blue-shirt). Many themes do, and it’s worth a look. I covered that in Shopify URL structure.

2. The sitemap lists a different URL

Your XML sitemap should only contain canonical URLs. If it lists the duplicate, you’re giving mixed messages.

Fix: check the sitemap and remove non-canonical URLs. XML sitemaps on WordPress has the rules.

3. Redirects disagree

If http:// doesn’t redirect to https://, or www and non-www both load, Google may choose either. Same with trailing slashes.

Fix: pick one version of every URL and 301 redirect the others to it.

4. The pages aren’t really duplicates

If you canonicalise page A to page B but the content is quite different, Google may decide the tag is a mistake and index A on its own. Or, if two pages are nearly identical, it may pick the one with more links regardless of your tag.

Fix: if they’re genuinely different, give each a self-referencing canonical. If they’re meant to be one page, merge them and redirect.

5. The canonical tag itself is broken

This is more common than you’d think, and it’s the first thing I check:

  • two canonical tags on one page (theme plus plugin, for example)
  • a relative URL that resolves wrongly
  • the tag points at a URL that redirects, 404s or is noindexed
  • the tag is added by JavaScript after the page loads, so Google may not see it in the first pass

Fix: view the page source (not the inspected DOM) and search for rel="canonical". There should be exactly one, with a full absolute URL to a live, indexable page. Canonical tags explained with real examples shows the correct format.

6. Hreflang or other tags conflict

On multilingual sites, hreflang tags pointing at one URL while the canonical points at another confuse things. Same with Open Graph URLs that disagree, though those carry less weight.

Fix: make hreflang reference canonical URLs only.

A checklist to line up the signals

For the URL you want indexed, all of these should be true:

  1. It returns a 200 status.
  2. It isn’t noindexed or blocked in robots.txt.
  3. It has a self-referencing canonical tag.
  4. The duplicates have canonicals pointing to it.
  5. Internal links point to it, not the duplicates.
  6. The sitemap lists it, and only it.
  7. Alternative versions (HTTP, www, trailing slash) redirect to it.

When all seven line up, Google nearly always agrees.

Then wait

After fixing, request indexing for the main URL in URL Inspection, then give it time. Canonical decisions can take weeks to update, especially on pages Google rarely crawls. Check the Page indexing report again in a month, not every morning.

When to stop worrying

If Google picks a different canonical on a handful of low-value URLs and the right content is still indexed and getting traffic, I’d let it go. Spend the time where the wrong choice costs you clicks: products, categories and key posts.

Open the Page indexing report today and click “Duplicate, Google chose different canonical than user”. Is the list a few stray URLs, or one template repeating the same mistake?