In short
The rel="canonical" tag is a suggestion: Google chooses the canonical URL of each group of similar pages itself. The task is to compare, for your important pages, the URL you declare with the one Google has selected, explain each discrepancy and fix it. Once this is done, the two columns match on every strategic page, and the remaining discrepancies are understood and accepted.
Why it matters
Google groups pages whose main content is identical or very similar, then selects as canonical the one it considers the most complete and useful. It relies on your signals (redirects, canonical, sitemap, HTTPS) but weighs others too, and it can override them: the canonical is a hint, not a directive.
When Google does not follow your choice, its canonical is the one indexed and shown in the results. Possible consequences:
- an unwanted URL is shown: a parameterized variant, the HTTP version, a page in another language;
- the page you are working on does not appear, since it is treated as a duplicate;
- the page's performance is attributed to another URL in Search Console;
- in the worst case, the selected canonical is on another domain (a copy, syndicated content, a hacked site), and your page disappears from the results.
A discrepancy is therefore a symptom. It almost always reveals conflicting signals or pages that are too similar.
What it improves
- Indexing The page you chose is the one that enters the index.
- Display The right URL appears in the results and, for assistants that rely on Google's index, in the cited sources. No guarantee of a citation, however.
- Measurement Clicks and impressions attributed to the right page.
- Diagnosis Discrepancies point to duplicates, template errors or security problems.
- Rankings An indirect effect, through consolidating signals on a single URL.
How to check
Page by page. Open the URL Inspection tool, enter the URL, then expand the Page indexing section. Two fields:
- User-declared canonical: what Google read in your tag, your HTTP header or your sitemap;
- Google-selected canonical: what it selected. "Inspected URL" means Google chose the page itself.
Expected result: both values are identical. The live test ("Test live URL") shows the declared canonical but cannot predict the selection: only the indexed version counts.
For the whole site. In the Page indexing report, the reason "Duplicate, Google chose different canonical than user" lists the URLs concerned (1,000 examples at most). Filter on "All submitted pages" to keep only the URLs in your sitemaps, in other words the ones you want indexed.
How to implement
Step 1 — List the URLs to check
Do not check everything: start with the pages that matter. Sources:
- your strategic pages (see check strategic pages (opens in a new tab));
- the examples for the reason "Duplicate, Google chose different canonical than user", exported from the report;
- pages that have lost clicks for no apparent reason in the Performance report.
Aim for 50 to 500 URLs depending on the size of the site: that is the order of magnitude manual inspection or the API can handle in one session.
Step 2 — Retrieve both canonicals
Without a paid tool, by hand. For a few dozen URLs, the inspection tool is enough. The number of inspections per day and per property is limited.
Without a paid tool, in bulk. The Search Console URL Inspection API returns the userCanonical and googleCanonical fields, within a limit of 2,000 requests per day and 600 per minute for a property. Get an access token with Google's OAuth 2.0 Playground (scope https://www.googleapis.com/auth/webmasters.readonly, with an account that has access to the property), then:
JETON="ya29.your_token"
PROPRIETE="sc-domain:example.com"
while read -r url; do
curl -s -X POST "https://searchconsole.googleapis.com/v1/urlInspection/index:inspect" \
-H "Authorization: Bearer $JETON" \
-H "Content-Type: application/json" \
-d "{\"inspectionUrl\":\"$url\",\"siteUrl\":\"$PROPRIETE\"}" \
| jq -r --arg url "$url" '.inspectionResult.indexStatusResult | [$url, .userCanonical // "", .googleCanonical // "", .coverageState // ""] | @csv'
done < urls.txt > canoniques.csv
urls.txt contains one URL per line. For a URL-prefix property, siteUrl takes the form https://www.example.com/, trailing slash included. The token expires after about an hour.
With Screaming Frog (paid licence). Connect Search Console in Configuration > API Access > Google Search Console, enable URL inspection in the URL Inspection tab, then crawl in list mode. The Search Console tab shows the "User-Declared Canonical" and "Google-Selected Canonical" columns and a filter for declared canonicals that were not selected. The same quota of 2,000 URLs per day applies.
Step 3 — Classify the discrepancies
Add a "Cause" column and an "Action" column to the file. The most common causes, from the simplest to the trickiest:
| Cause | How to recognize it | Fix |
|---|---|---|
| Broken canonical | The declared canonical redirects, returns 404 or carries noindex |
Point to a final URL that returns 200 and is indexable. See check canonicals and absolute URLs (opens in a new tab) |
| Conflicting signals | Internal links, sitemap or hreflang use another form of the URL | Align everything on the canonical. See align canonicals, sitemap and internal links (opens in a new tab) |
| Protocol or host | Google selects the http:// version or the other www form |
301 redirects and valid HTTPS. See standardize HTTP/HTTPS and www/non-www (opens in a new tab) |
| Canonical missing from the initial HTML | JavaScript adds or changes it, or it is placed outside the <head> |
Place it in the <head> of the source HTML. See check title, description and canonical after rendering (opens in a new tab) |
| Several canonicals | The theme and a plugin each output one | Keep only one |
| Pages too similar | Two pages with almost identical main content; Google selects one | Merge and redirect, or clearly differentiate. See identify and consolidate duplicates (opens in a new tab) |
| Language or country variants | Same language for two countries; Google selects a single version | Reciprocal hreflang and localized content. See align hreflang and canonical (opens in a new tab) |
| Canonical on another domain | Google selects a third-party site's URL | Copy: removal request. Syndication: indexing blocked on the partner's side. Injected redirects or canonicals: hacking, see monitor for hacking and content or link injection (opens in a new tab) |
Check the canonical actually served, in the raw HTML, then in the crawled page:
curl -s https://example.com/thes/the-vert/ | grep -i -o '<link[^>]*rel="canonical"[^>]*>'
curl -sI https://example.com/thes/the-vert/ | grep -i "^link:"
More than one line across the two commands points to a double declaration. In the inspection tool, "View crawled page" shows the HTML Google actually received.
Good to know: a discrepancy is not always an error. If Google selects a URL that you end up finding better, for example the version without a parameter of a page declared with one, adopt its choice and align your signals on it. Google itself recommends starting by asking which of the two best serves the user.
Step 4 — Fix and request a recrawl
- Fix it in the template, not page by page: a canonical error almost always comes from the theme, a plugin or a routing rule.
- For the most important URLs, use "Request indexing" in the inspection tool, which is subject to a quota.
- In the Page indexing report, open the relevant reason and click "Validate fix". Validation usually takes about two weeks.
- For pages that are too similar, Google may keep them grouped for up to two weeks after your fix: do not draw conclusions before then.
Step 5 — Keep a log
The deliverable is a shared table, updated at each check:
| URL | Declared canonical | Google-selected canonical | Discrepancy | Cause | Action | Owner | Checked on | Recheck |
|---|---|---|---|---|---|---|---|---|
/thes/the-vert/ |
/thes/the-vert/ |
/thes/the-vert/?tri=prix |
Yes | Sort filter links without a canonical | Canonical added to the list template | Léa | 2026-11-20 | 2026-12-04 |
/entretien-chaudiere-nantes/ |
/entretien-chaudiere-nantes/ |
/entretien-chaudiere-saint-herblain/ |
Yes | Near-identical city pages | Local content rewritten | Paul | 2026-11-20 | 2026-12-04 |
/fonctionnalites/planning/ |
/fonctionnalites/planning/ |
Inspected URL | No | — | — | Marc | 2026-11-20 | 2027-02-20 |
Check formula, in Google Sheets or Excel, in column D: =IF(B2=C2,"No",IF(C2="Inspected URL","No","Yes")). Normalize the URLs (with or without the domain, trailing slash) before comparing, otherwise the formula flags false discrepancies.
With Bing Webmaster Tools
To our knowledge, Bing does not document an equivalent of the "Google-selected canonical" field. Check in Bing's URL Inspection that the URL you want indexed actually is, and look in Site Explorer at the URLs classified as "Excluded", which include duplicates. See check Bing indexing (opens in a new tab).
Common mistakes
- Relying on the live test: it says nothing about the selected canonical; only the indexed version shows it.
- Comparing non-normalized URLs:
https://example.com/pageand/page/are not a real discrepancy, just a difference in how they are written in your table. - Fixing the canonical without fixing the links: if the menu and the sitemap still point to the variant, Google keeps preferring it.
- Piling up indexing requests: the quota is limited and a request does not force the choice of canonical.
- Ignoring a canonical selected on another domain: this is the most serious case, often linked to a copy or a hack.
- Checking only once: a theme or plugin update can break everything. Automate the check; see monitor canonicals and sitemaps (opens in a new tab).
Frequently asked questions
Why does Google ignore my canonical tag?
Google ignores a canonical tag when other signals contradict it or when it seems wrong. Common causes: the canonical points to a page that redirects, returns 404 or carries noindex; internal links and the sitemap use another URL; the HTTP version is still accessible; two pages with almost identical content compete for the same group. The canonical is a hint that Google weighs against the others, not a directive.
Where can you see the canonical URL Google chose?
The canonical URL chosen by Google appears in the Search Console URL Inspection tool, Page indexing section, in the "Google-selected canonical" field, just below the canonical you declare. It is only visible for a URL that is already indexed and whose canonical belongs to a property you manage. For many URLs, the URL Inspection API returns the same field under the name googleCanonical.
Is it serious if Google chooses a different canonical from mine?
Not necessarily: if Google selects an equivalent URL that you find correct, simply align your signals with its choice. It is serious when the selected canonical is an unwanted variant, a version in another language or another site's URL, because your page then no longer appears in the results. Classify each discrepancy by cause and deal with strategic pages and external canonicals first.
How long does it take for Google to change the canonical?
The canonical does not change immediately: Google has to recrawl the pages concerned and reassess the group. Validating a fix in Search Console usually takes about two weeks, and Google states that grouped pages may stay grouped for up to two weeks after a fix. An indexing request speeds up the recrawl of an important URL, but it does not guarantee that your canonical will be selected.
Resources
- Google Search Central: Fix canonicalization issuesdevelopers.google.com
- Google Search Central: How to specify a canonical URLdevelopers.google.com
- Search Console Help: URL Inspection toolsupport.google.com
- Search Console Help: Page indexing reportsupport.google.com
- Search Console API: urlInspection.index.inspect methoddevelopers.google.com
- Search Console API: usage limitsdevelopers.google.com
- OAuth 2.0 Playgrounddevelopers.google.com
Updated on
Topic checklist (PDF)