indexive
ServicesSolutionsIndustriesResearch
Log inFree execution audit
GuidePublished July 22, 2026·Sources checked October 14, 2026·23 min read

How Google picks the canonical URL for a page

Google clusters duplicate or near-duplicate pages and picks one canonical based on signals such as redirects, rel=canonical, sitemap inclusion, HTTPS and hreflang. Your declaration is a hint, not a rule, so the way to win is to make every signal name the same URL. Google documents redirects and rel=canonical as strong signals and sitemaps as weak. Search Console shows the user-declared and Google-selected canonical for each indexed URL, which is where disagreements surface.

By Indexive Research · every source is linked at the end
Key points
10 hops
Redirect hops Googlebot generally follows
2 weeks
Time Google may hold clustered pages after a fix
68%
Desktop pages with a canonical, Web Almanac 2025

Why one page ends up with many URLs

A URL is just an address, and most sites hand out more addresses per page than their owners realize. Google's canonicalization documentation lists the usual sources: region variants (separate US and UK URLs with essentially the same English content), device variants such as a separate mobile site, protocol variants (HTTP and HTTPS), site functions like sorting and filtering on a category page, and accidental variants such as a demo site left open to crawlers. In practice the list also includes host variants (www or not), trailing slashes, tracking parameters, session IDs, print versions, and syndicated copies on partner sites.

Google's URL structure guidance adds that its URL handling is case sensitive, so /APPLE and /apple are distinct URLs, and it lists referral parameters, sort parameters and session IDs as common sources of extra URLs. For session IDs it recommends cookies instead.

Google says some duplication is normal and is not a violation of its spam policies. The costs are different: people may wonder which page is the right one, and it becomes harder to track how a piece of content performs. The consolidation documentation names four reasons to state a preference anyway: choosing which URL people see in results, consolidating signals such as links into one URL, simplifying metric tracking, and sparing Googlebot from spending crawl time on duplicates when it could be fetching new or updated pages.

None of the canonicalization methods are required, and if you say nothing Google picks what it judges the best version. The practical goal is to make that pick predictable, so the URL in search results, the URL your internal links use, and the URL your analytics report on are the same one.

How Google chooses a canonical

Google describes the process in What is URL canonicalization. When it indexes a page it works out the primary content of the page, which it also calls the centerpiece. If it finds multiple pages that seem to be the same, or whose primary content is very similar, it clusters them together. It then picks the page that, based on the signals gathered during indexing, is objectively the most complete and useful for search users, and marks that page as the canonical. The canonical is crawled most regularly, and duplicates are crawled less often to reduce load on sites.

The documentation lists a handful of factors: whether the page is served over HTTP or HTTPS, redirects, presence of the URL in a sitemap, and rel="canonical" annotations. Google states plainly that indicating a canonical preference is a hint, not a rule, and that it may choose a different page than you did.

The signals and their stated strength

The consolidation page ranks the methods you control by how strongly they can influence the outcome, and adds that the methods stack, so using two or more raises the chance your preferred URL is the one that appears.

SignalStated strengthWhat the documentation says
Permanent redirect (301, 308)StrongA strong signal that the redirect target should become canonical. Use it when retiring a duplicate page.
rel=canonical link element or HTTP headerStrongA strong signal that the specified URL should become canonical.
Sitemap inclusionWeakPages listed in a sitemap are suggested as canonicals, and Google decides which pages, if any, are duplicates based on content similarity.
HTTPS over HTTPDefault preferenceGoogle prefers HTTPS pages as canonical unless there are issues or conflicting signals.
Membership in an hreflang clusterPreferenceGoogle prefers URLs that are part of hreflang clusters.
Internal linksRecommended, strength not statedLink to the canonical URL rather than a duplicate. Consistent linking helps Google understand your preference.
Temporary redirect (302, 307)WeakThe target might still be indexed if other canonicalization signals are present.
Table 1. Canonicalization signals as Google documents them (documentation as read on 2026-10-14)

Internal linking appears in the best practices of the consolidation page rather than in the ranked list, so Google assigns it no strength; the safe reading is that inconsistent internal links contradict your own canonical. The temporary redirect row comes from the redirect documentation, which says the indexing pipeline does not use a temporary redirect as a signal that the target should be canonical.

What clustering means for pages that are only similar

Canonicalization starts from similarity of primary content, so it can go wrong in both directions. Pages meant to be different that share nearly the same centerpiece can be clustered, and then only one is shown. Google's troubleshooting page says the fix is ensuring the clustered pages are sufficiently different. After the content is fixed, Google might hold pages in a duplicate cluster for up to two weeks, and pages generally split out faster when the difference is clear and significant.

The reverse also happens. A Search Engine Journal report on a cross-domain canonical complaint describes site owners who found a stranger's URL selected as canonical for their pages. The likelier explanation offered was that Googlebot had fetched a generic application error shell while the site was failing, and identical error pages on unrelated sites were clustered. Google's John Mueller, as quoted there, pointed to the site error as the thing to fix. This is one report, not a documented mechanism.

Writing rel=canonical correctly

Google supports canonical annotations as described in RFC 6596, the specification that registered the canonical link relation. It gives you two delivery methods, the HTML link element and the HTTP Link header. The consolidation documentation recommends choosing one and sticking with it, because using both at once is more error prone, for instance when the header names one URL and the element names another.

The link element in the head

Put one <link rel="canonical"> element in the <head> of every duplicate page, pointing at the preferred URL, and add the same self-referential element on the preferred page itself. Google says the element is only accepted if it appears in the <head> section, so at least the head has to be valid HTML.

<!-- Served at https://www.example.com/dresses/green-dresses?utm_source=newsletter -->
<head>
  <title>Green dresses</title>
  <link rel="canonical" href="https://www.example.com/dresses/green-dresses" />
</head>
Example. Canonical link element on a duplicate (tracking-parameter) URL

The HTTP Link header for PDFs and other files

Files that have no head, such as PDFs, can carry the canonical in a response header. Google's own example tells Googlebot that the PDF is canonical for a Word document version of the same content. Google states that it supports this method for web search results only.

HTTP/1.1 200 OK
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Link: <https://www.example.com/downloads/white-paper.pdf>; rel="canonical"
Example. Response header on the .docx URL naming the PDF as canonical

Rules and limits in one place

RuleSource statementPractical reading
One canonical per pageRFC 6596 says to specify only one canonical link relation for a resource; Google says conflicting or multiple tags may lead to unexpected results.Check templates, plugins and tag managers for a second element.
Absolute URLsGoogle recommends absolute URLs. Relative URLs are supported but can cause problems, for example if a testing site is crawled.Write the full scheme, host and path. RFC 6596 allows relative IRIs, but Google advises against them.
Self-referencing canonicalGoogle recommends a self-referential canonical on the canonical page.Add it to every indexable page, not only the duplicates.
No fragmentsGoogle generally does not support URL fragments, so a fragment should not be specified as canonical.Never end a canonical in #section.
PlacementOnly accepted in the HTML head.Validate the head, or send an HTTP header instead.
Ignored attributesCanonical annotations with hreflang, lang, media and type attributes are not used for canonicalization.Use rel=alternate for variants. Do not decorate canonical.
Target statusRFC 6596 advises against targets that are permanent redirects, return 4xx errors, or themselves canonicalize elsewhere.Point only at a 200 page that canonicalizes to itself.
Content relationshipRFC 6596 says the target must be duplicative or a superset of the content at the referring URL.Do not canonicalize to a page about something else.
Method consistencyDo not name different canonicals through different methods.Make sitemap, element and header agree.
Table 2. rel=canonical rules from Google's documentation and RFC 6596

JavaScript-inserted canonicals

Google's JavaScript SEO basics, updated March 2026, says you can set the canonical with JavaScript and that Google picks up an injected canonical when rendering. HTML is the best approach, and a JavaScript value must match the one in the original HTML. If the canonical cannot be set in the HTML, set it only with JavaScript and leave it out of the original HTML. The injected element has to be the only canonical on the page; incorrect implementations can create several or change an existing one.

fetch('/api/cats/' + id)
  .then(r => r.json())
  .then(cat => {
    const link = document.createElement('link');
    link.rel = 'canonical';
    link.href = 'https://example.com/cats/' + cat.urlFriendlyName;
    document.head.appendChild(link);
  });
Example. Injecting the only canonical link element after loading data

The 2025 Web Almanac SEO chapter found canonicals on 68% of desktop and 67% of mobile pages, HTTP header canonicals on 0.58% of desktop and 0.50% of mobile pages, and canonical mismatches on about 0.7%. Rendering changed the canonical on 2.71% of desktop and 3.02% of mobile pages, and the chapter concludes that a static, server-side canonical is the safer option. These are crawl-sample figures, not ranking effects.

Redirects, canonicals and sitemaps compared

A redirect and a canonical both say that one URL stands in for another, but a redirect changes what every client receives while a canonical leaves the duplicate reachable and tells Google which version to index. Google's redirect documentation says permanent redirects (301, 308, and also zero-second meta refresh and some JavaScript redirects) are used by the indexing pipeline as a signal that the target should be canonical, while temporary ones (302, 303, 307) are not. Its status code documentation treats 308 like 301 and 307 like 302. Googlebot generally follows 10 redirect hops, while Google's inspection tools do not follow redirects at all.

The consolidation page says to use redirects when you want to get rid of duplicate pages, and its own example is a home page reachable at several addresses where you pick one and redirect the rest. For the quickest effect it recommends server-side redirects. A canonical is the choice when the duplicates must stay accessible, for example a parameter URL used by an ad campaign, a PDF twin, or a print view.

Sitemaps are the weak signal in the set. Google treats every listed URL as a suggested canonical and still decides which URLs are duplicates, so a sitemap helps most when it agrees with everything else. The HTTPS section is specific about disagreement: do not list the HTTP version of pages in your sitemap or hreflang annotations instead of the HTTPS version.

HTTPS, www and the signals Google reads from site setup

Apart from explicit annotations, the consolidation page says Google uses signals that come from site setup: preferring HTTPS over HTTP, and preferring URLs in hreflang clusters. On HTTPS, Google prefers the secure page as canonical except when something undermines it. The documented problems are an invalid TLS/SSL certificate, insecure dependencies other than images, an HTTPS page that redirects users to or through an HTTP page, and an HTTPS page whose rel=canonical points to the HTTP page.

Google lists three ways to reinforce the default: redirects from HTTP to HTTPS, a rel=canonical from the HTTP page to the HTTPS page, and HSTS. Bad certificates and HTTPS-to-HTTP redirects make Google prefer HTTP very strongly, and HSTS cannot override that. The certificate must also match the full site URL or be a wildcard certificate, so one issued for subdomain.example.com but served on example.com is a configuration to avoid.

Cross-domain canonicals, syndication and hreflang

Syndicated content

Canonicals across domains are valid in the specification: RFC 6596 says the target may be on a different hostname or domain. For syndication, though, Google's guidance is blunt. The troubleshooting page says the canonical link element is not recommended for avoiding duplication by syndication partners, because the pages are often very different, and that the most effective solution is for partners to block indexing of your content. Google's News publisher help gives the exact tags a partner can add: <meta name="Googlebot-News" content="noindex"> to keep Google News from indexing the copy, and <meta name="Googlebot" content="noindex"> to keep it out of Google Search as well.

Search Engine Journal reported the change in May 2023: Google removed a line about using canonicals to manage syndicated content from the consolidation page and added the syndicated-content entry to the troubleshooting page. SEJ said the guidance for syndicated news stayed as before.

Hreflang and canonicals together

Google says different language versions of a page count as duplicates only when the main content is in the same language, so a translated page is not a duplicate of the original and should not canonicalize to it. The localized versions documentation, updated September 2026, requires each language version to list itself and all the others, alternate URLs to be fully qualified, and annotations to be reciprocal: if two pages do not both point to each other, the tags are ignored.

For regional variants in the same language, such as US and UK pages with identical English, the canonicalization page says to use both canonicalization and hreflang. The consolidation page adds that when you use hreflang you should specify a canonical in the same language, or the best possible substitute if none exists. The multi-regional guide gives the example of example.de/ and example.com/de/ showing similar German content: pick a preferred version and use both the canonical element and hreflang.

<!-- On https://example.com/en-us/shipping -->
<link rel="canonical" href="https://example.com/en-us/shipping" />
<link rel="alternate" hreflang="en-US" href="https://example.com/en-us/shipping" />
<link rel="alternate" hreflang="en-GB" href="https://example.com/en-gb/shipping" />

<!-- On https://example.com/en-gb/shipping the canonical names itself and the same two alternates repeat -->
<link rel="canonical" href="https://example.com/en-gb/shipping" />
Example. English US and UK pages with the same content, each self-canonical, with reciprocal hreflang

Canonicalizing every regional page to one master while also using hreflang to serve each region its own URL sends contradictory instructions. Either consolidate regions into one page and redirect the others, or keep each regional page self-canonical. Google also prefers URLs inside an hreflang cluster: in its example, de-de and de-ch, which point at each other, are preferred over a de-at page outside the cluster.

Parameters, facets, sorting and pagination

What replaced the URL Parameters tool

Search Console's URL Parameters tool, launched in 2009, was deprecated after a notice dated 28 March 2022, with a one month runway. Google said only about 1% of the parameter configurations in the tool were useful for crawling, its crawlers would learn to handle parameters automatically, and nobody needed to do anything. For more control it pointed to robots.txt rules (for example specifying parameter orders in an allow rule) and to hreflang for language variations. The replacement is therefore partly nothing, partly robots.txt, and partly the same canonical, redirect and linking hygiene covered here.

Faceted navigation

The faceted navigation guidance, updated December 2025, treats the problem as a crawling one first. Parameter-based filters can generate effectively infinite URL spaces, which causes overcrawling and slower discovery of new pages. If you do not need filtered URLs indexed, Google recommends preventing their crawling, with robots.txt listed first, or using URL fragments for the filters, since Google generally ignores fragments. It describes rel="canonical" and rel="nofollow" as generally less effective in the long term, though pointing filtered pages at an unfiltered version may, over time, reduce the crawl volume of the non-canonical versions.

user-agent: Googlebot
disallow: /*?*products=
disallow: /*?*color=
disallow: /*?*size=
allow: /*?products=all$
Example robots.txt adapted from Google's faceted navigation guidance (blocks filter parameters, allows one named value)

Blocking and canonicalizing the same URL do not combine well. Google cannot read a canonical on a page it is not allowed to fetch, so a robots.txt block means the canonical on that URL is never seen (this follows from how crawling works rather than from a quoted rule). Pick one mechanism per URL pattern: block patterns you never want fetched, and canonicalize patterns you want fetched but consolidated.

If filtered URLs do need to be crawled and indexed, the same guide recommends & as the parameter separator (commas, semicolons and brackets are hard for crawlers to recognise), a fixed logical order for filters in path-based URLs with no duplicates, and a real 404 for filter combinations with no results instead of a redirect to a shared error page. The URL structure page gives the same encoding advice.

Sorting and tracking parameters

The pagination guide says to avoid indexing URLs with filters or alternative sort orders, and offers a noindex robots meta tag or a robots.txt rule for the unwanted patterns. Tracking parameters differ from sorts in that the page content is identical, which makes a canonical to the clean URL the fitting tool. Google's own illustration in the consolidation page uses a gclid parameter, and notes that links to the parameter URL would be consolidated with the clean URL if the latter becomes canonical.

Pagination

The pagination documentation is explicit about canonicals: give each page its own unique URL, and do not use the first page of a paginated sequence as the canonical page; give each page its own canonical instead. RFC 6596 gives the underlying reason, which is that page two is neither a duplicate nor a subset of page one, so marking it as one risks losing the content that exists only on page two. The same Google page says Google no longer uses rel="next" and rel="prev", although other search engines may. Paginated pages need not have distinct titles, page numbers should not live in fragments, and sequential <a href> links help Google find every page.

RFC 6596 allows one exception: each component page of a multi-page article may point at a view-all page that contains all the content, provided load time and navigation are strongly considered. Google's pagination page does not recommend this, so treat it as a specification allowance.

Mobile URLs and AMP

Responsive pages need no special handling. For sites with separate mobile URLs, Google's mobile-first indexing guide says to use the correct canonical and alternate elements between versions: the desktop URL is always the canonical, and the mobile version is the alternate. The mobile page canonicalizes to desktop. The desktop page canonicalizes to itself and carries a rel="alternate" with a media attribute pointing to the mobile URL.

<!-- On https://m.example.com/ -->
<link rel="canonical" href="https://example.com/">

<!-- On https://example.com/ -->
<link rel="canonical" href="https://example.com/">
<link rel="alternate" media="only screen and (max-width: 640px)" href="https://m.example.com/">
Example. Separate mobile URLs (from Google's guidance)

Hreflang on mobile URLs must point to mobile URLs, and desktop hreflang to desktop. A media attribute on the alternate element does not conflict with the rule that canonicals carrying media are ignored.

For AMP, the URL Inspection help says the canonical should be the non-AMP version unless the AMP page is self-canonical. I could not retrieve a current Google page on authoring AMP markup, so check the AMP project's documentation for that.

Reading Google's decision in Search Console

URL Inspection

The URL Inspection tool shows two canonical fields under Page indexing. User-declared canonical is what your page says through the link element, header or sitemap, and None is acceptable for a page that has no duplicates. Google-selected canonical is the URL Google chose when it found similar pages, which may be your declared URL or another. If the page has no alternates, the Google-selected canonical is the inspected URL itself. Google says the value can be a few hours out of date compared with its index.

One limitation trips people up. Google says the canonical can be determined only from indexed data, and the live test cannot predict whether the tested version will be treated as canonical. A live test result of "URL is available to Google" therefore says nothing about which duplicate will win. Inspect the indexed version, then compare.

Page indexing report statuses

The Page indexing report treats duplicates as a normal outcome: the goal is to get the canonical version of every important page indexed, and a page marked as a duplicate or alternate is usually a good thing because it means Google has found and indexed the canonical. Three statuses concern canonicals directly.

StatusWhat Google says it meansWhat to do
Alternate page with proper canonical tagThe page is an alternate of another page (an AMP page with a desktop canonical, a mobile version of a desktop canonical, or the desktop version of a mobile canonical) and correctly points to the canonical, which is indexed. Alternate language pages are not detected by Search Console.Nothing, unless the listed canonical is the wrong page.
Duplicate without user-selected canonicalThe page duplicates another but states no preferred canonical. Google chose the other page and will not serve this one. Google says this is not an error.Inspect to see Google's pick. If it is wrong, declare the canonical. If the pages are not truly duplicates, make their content differ substantially.
Duplicate, Google chose different canonical than userThe page is declared canonical for a set, but Google thinks another URL is better, and indexed that one. Google concludes the tested page is a duplicate of its own selection, not of your declared canonical.Compare the current page, the user-declared canonical and the Google-selected canonical in a browser. If your declared target is not similar to the page, Google will never choose it.
Table 3. Canonical-related Page indexing statuses

The URL Inspection documentation lists a fourth, Duplicate, submitted URL not selected as canonical, among the statuses that cannot be tested live. Treat it the way the name reads: a URL you submitted was judged a duplicate and another was chosen.

Google's fixing canonicalization issues page gives the sequence for disagreements. Check which URL Google considers canonical and ask whether it serves searchers better than yours. Look for technical causes: incorrect canonical elements from a CMS or plugin, servers returning one host's content for another, hacked sites injecting a cross-domain canonical, and copycat sites. Make clustered pages sufficiently different if they should be separate, then request quota-limited re-indexing for key URLs.

Mistakes that send mixed signals

Most canonical problems are two signals that disagree. These are the failures Google or RFC 6596 name.

Canonical to a redirected, erroring or blocked URL

RFC 6596 advises against a canonical target that is the source of a permanent redirect or that returns a 4xx, and says that when canonicals are declared improperly an application can apply its own heuristics, for example ignoring the declaration. A canonical pointing at a redirecting URL is a chain: the page says A is canonical, and A says B is. Point the tag directly at the final 200 URL. A target that is blocked in robots.txt is a related case: Google's best practices say not to use robots.txt for canonicalization because disallowed URLs may still be indexed without their content.

Canonical to a noindexed URL

Google recommends against using noindex to prevent canonical selection within one site, since noindex completely blocks the page from Search, and says rel=canonical is the preferred solution. The documentation does not spell out what happens when a canonical names a noindexed page, so avoid the combination: a duplicate that points at a page that cannot be indexed asks Google to consolidate onto a page it has been told not to show.

Conflicts between the canonical, the sitemap and internal links

Google's list of practices to avoid includes specifying different canonical URLs for the same page through different methods, such as one URL in the sitemap and another in the element. Internal links that point at the duplicate, a sitemap that lists parameter URLs, and an hreflang set that names the HTTP version all argue against the canonical you declared. The page you want indexed should be the one in the sitemap, the navigation, hreflang and its own canonical element.

Every paginated page pointing to page one

A CMS or plugin setting can produce this pattern without anyone choosing it. Google's pagination page tells you not to, and RFC 6596 explains the data loss.

A canonical to a page with different content

The canonical must identify duplicate or superset content under RFC 6596. If the declared target is not similar to the page, Google's Page indexing documentation says Google will never choose it. Google's troubleshooting page names CMS defaults and plugins that point canonicals at undesired URLs as a common cause, so check the rendered tag on a sample of templates.

Worked cases and a decision table

These cases apply the documented rules. None is a measured outcome from a particular site.

E-commerce variants and sorting parameters

Take a category at /shoes with variants such as /shoes?sort=price and /shoes?color=red&size=9, and product color variants at /shoes/runner?color=blue. Decide first whether any filtered view has real search demand and a distinct purpose. If not, keep sort and filter parameters out of the crawl with robots.txt patterns like Google's faceted navigation example, link internally only to clean URLs, and return 404 for empty combinations. A color variant that deserves its own page gets a stable path and its own self-canonical. A color variant that only swaps a swatch on the same product page canonicalizes to the main product URL.

Blog posts with tracking parameters

A newsletter links to /blog/post?utm_source=newsletter. The page serves normally with <link rel="canonical" href="https://example.com/blog/post"> in its head. Generating the element from the path rather than the request URL makes one template work for every parameter variant. A canonical built from the full request URL echoes the parameter and canonicalizes each variant to itself.

HTTP to HTTPS and www normalization

Choose one origin, for example https://example.com. Redirect http://example.com, http://www.example.com and https://www.example.com to it with a single 301 each, not a chain. Use that origin in internal links, the sitemap and hreflang, and keep a valid certificate covering every host that answers. The old protocol and host variants do not need to stay reachable, so a redirect is the right tool. Self-referencing canonicals on the target keep the preference visible in the HTML if a redirect rule is ever lost.

Syndicated articles

For a partner that republishes your article, ask for a noindex robots meta tag on their copy. A canonical has to be declared on the duplicate, so you cannot force the outcome from your own page. Within your own network of sites, decide whether the copy needs to exist, and if it does, apply noindex there too.

Print pages

Google gives no print-specific guidance, so the general rules apply. If a separate print URL exists, treat it as a duplicate and canonicalize it to the main page. A print stylesheet on the main page removes the extra URL entirely and is the simpler option when you control the template.

SituationFirst choiceFallbackDo not
Old URL is retired301 to the replacementCanonical if redirects are impossibleRedirect to an unrelated page
http vs https, www vs non-www301 to one originSelf-referencing canonical on the targetChain redirects or canonical to an HTTP page
Tracking parameter on the same contentCanonical to clean URLStrip parameters at the edge and 301Link internally with parameters
Sort order on a listKeep out of crawl or indexCanonical to the default orderIndex each ordering
Filter combinationsrobots.txt for patterns you never wantCanonical to a parent listReturn 200 for empty results
Paginated listEach page self-canonicalConsider a view-all page only if usableCanonical every page to page one
PDF twin of an HTML pageLink header canonical to the preferred fileBlock or remove the duplicate fileUse both header and HTML with different targets
Partner republishes your articlePartner adds noindexCross-domain canonical, knowing it is only a hintAssume the canonical is binding
Same-language regional pagesSelf-canonical plus hreflang on eachConsolidate and redirectCanonical all regions to one and keep hreflang
Separate mobile URLsMobile canonical to desktop, desktop alternate to mobileMove to responsive designCanonical desktop to mobile
Print versionRemove the URL, use a print stylesheetCanonical to the main pageLeave it indexable
Table 4. Decision table

An audit procedure and how to verify it with curl

This procedure moves from what you declare to what Google decided. Run it on a sample that includes one URL from each template (home, category, product, article, paginated page, parameter page, PDF) and on the specific URLs Search Console flags.

  1. List every URL pattern the site can produce for one page: protocol, host, slash, case, parameters, print, mobile, syndicated and regional copies.
  2. For each pattern, fetch it and record the status code, the final URL after redirects, the canonical element, the canonical header, and whether a robots meta tag or X-Robots-Tag is present.
  3. Confirm that every indexable page has exactly one canonical and that it is absolute, free of fragments, self-referencing on the preferred URL, and returns 200.
  4. Compare the canonical in raw HTML with the rendered DOM. Any difference is a defect on a site that renders client-side.
  5. Compare four sources of truth for each important page: its canonical, the sitemap entry, the internal links pointing to it, and its hreflang entries. They should name one URL.
  6. Check redirect behavior: one hop from every non-preferred host, protocol, slash and case variant to the preferred URL.
  7. Inspect a sample of URLs in Search Console and record user-declared and Google-selected canonical. List the URLs where they differ.
  8. For each disagreement, decide whether Google's choice is acceptable, whether the pages are too similar and should differ, or whether a technical signal is conflicting. Fix the signal or the content, then request indexing only for key URLs.

Verification commands

These commands use curl. Replace example.com with your host. They show what the server sends to a client that does not run JavaScript, so a JavaScript-injected canonical will not appear; compare with the rendered HTML in URL Inspection for those pages.

curl -s https://example.com/blog/post \
  | grep -io '<link[^>]*rel=["'"'"']canonical["'"'"'][^>]*>'
Example. Print the canonical link element from raw HTML
curl -s -D - -o /dev/null https://example.com/downloads/white-paper.pdf \
  | grep -i '^link:'
Example. Check for a canonical Link header on a PDF (GET, discarding the body)
for u in http://example.com/ http://www.example.com/ https://www.example.com/ https://example.com/Blog/Post/ ; do
  curl -s -o /dev/null -w "%{http_code} %{num_redirects} hops %{url_effective}\n" -L "$u"
done
Example. Check redirect status and target for each variant
curl -sIL http://example.com/blog/post | grep -iE '^(HTTP|location)'
Example. See each hop in a redirect chain

The grep patterns assume rel comes before href; a template that writes href first needs a looser pattern or an HTML parser. A HEAD request (-I) can return different headers from a GET on some servers, so use GET for header checks on important files.

What to do first

Start with the signals you control: one redirect hop from every protocol and host variant, one canonical per page, and internal links and sitemap entries that use the canonical URL. Then open Search Console and look at the statuses in Table 3. The Duplicate, Google chose different canonical than user rows deserve the most attention because they show where your declared signals lost. A page marked as a duplicate of the right canonical is the system working.

Sources

  1. [1]
    Consolidate duplicate URLs with rel=canonical and other methods
    Google Search Central. Methods ranked by strength, best practices, link element and HTTP header syntax, HTTPS and hreflang preferences (updated 2026-07-10).
  2. [2]
    What is URL canonicalization
    Google Search Central. Clustering, signals, hint not rule, same-language rule for hreflang (updated 2026-08-20).
  3. [3]
    Fix canonicalization issues
    Google Search Central. Troubleshooting steps, common causes including syndication and hacking, two-week cluster hold (updated 2026-08-21).
  4. [4]
    Redirects and Google Search
    Google Search Central. Permanent versus temporary redirects as canonical signals (updated 2026-04-14).
  5. [5]
    How HTTP status codes affect Google's crawlers
    Google Crawling Infrastructure. 301, 302, 307, 308 handling and the 10 hop limit (updated 2026-02-04).
  6. [6]
    Understand JavaScript SEO basics
    Google Search Central. Setting and injecting canonicals with JavaScript (updated 2026-03-04).
  7. [7]
    Pagination, incremental page loading, and their impact on Google Search
    Google Search Central. Pagination canonical rules, rel=next/prev no longer used, sort and filter URLs (updated 2025-12-10).
  8. [8]
    Managing crawling of faceted navigation URLs
    Google Crawling Infrastructure. Faceted URL handling, robots.txt example, canonical effectiveness (updated 2025-12-18).
  9. [9]
    URL structure best practices for Google Search
    Google Search Central. Case sensitivity, parameter encoding, irrelevant parameters (updated 2025-12-10).
  10. [10]
    Tell Google about localized versions of your page
    Google Search Central. Hreflang requirements, reciprocity, x-default (updated 2026-09-21).
  11. [11]
    Managing multi-regional and multilingual sites
    Google Search Central. Canonical plus hreflang for same-language duplicates.
  12. [12]
    Mobile-first indexing best practices
    Google Search Central. Separate mobile URL canonical and alternate markup (updated 2025-12-10).
  13. [13]
    Page indexing report
    Google Search Console Help. Duplicate and alternate statuses and their meanings.
  14. [14]
    URL Inspection tool
    Google Search Console Help. User-declared versus Google-selected canonical and live test limits.
  15. [15]
    Spring cleaning: the URL Parameters tool
    Google Search Central Blog. Deprecation of the URL Parameters tool, 28 March 2022.
  16. [16]
    To slash or not to slash
    Google Search Central Blog. Trailing slash handling and the historical rel=canonical comparison to a 301 (2010).
  17. [17]
    RFC 6596: The Canonical Link Relation
    IETF. Specification: target requirements, one canonical, avoid redirect and 4xx targets, first-page rule.
  18. [18]
    Avoid article duplication in Google News
    Google News Publisher Center Help. Syndication partner noindex tags and the note against canonicals for syndicated copies.
  19. [19]
    Google updates guidance on cross-domain canonicals
    Search Engine Journal. Independent report on the May 2023 syndication guidance change.
  20. [20]
    Google responds to cross-domain canonical de-indexing report
    Search Engine Journal. Report of canonical clustering caused by identical error pages and Mueller's response.
  21. [21]
    Web Almanac 2025, SEO chapter
    HTTP Archive. Canonical adoption, implementation methods and conflict rates in 2025 crawl data.
  22. [22]
    Web Almanac 2024, SEO chapter
    HTTP Archive. 2024 canonical data used for context on head and header canonicals.

Sources were last checked on October 14, 2026. Documentation changes, so confirm any detail that matters to a decision against the source itself.

How to cite

Indexive Research. (2026, July 22). How Google picks the canonical URL for a page. Indexive AI. https://indexive.ai/research/canonical-urls-explained

Keep reading
Guide · 23 min
Redirects and site moves, as the documentation describes them
Guide · 23 min
Internal linking, from crawlable links to site structure
Guide · 23 min
What robots.txt and noindex each really control

Frequently asked questions.

Straight answers about how we work. Still have a question? The free audit is the fastest way to get one answered for your site.

No. Google says indicating a canonical preference is a hint, not a rule, and it may choose a different page for various reasons. It is a strong signal, stronger than a sitemap entry, and it stacks with redirects and consistent internal links.

Use a 301 when the duplicate URL is being retired, because Google treats permanent redirects as a strong signal that the target should be canonical. Use a canonical when the duplicate has to stay reachable, such as a parameter URL, a PDF twin or a print view.

Google recommends a self-referential rel=canonical on the canonical page itself. It protects against parameter and tracking variants of the page being treated as separate candidates.

The specification allows cross-domain canonicals, but Google does not recommend the canonical element for avoiding duplication by syndication partners. Its advice is for partners to block indexing with a noindex robots meta tag.

Google decided the page is a duplicate of another URL and not of the one you declared, so your declared target is not similar enough to be chosen. Compare the three pages, fix any conflicting technical signals, and make the content differ if the pages should be separate. Google says clusters can be held for up to two weeks.

See your first 30 days of execution.

A free execution audit: your prioritized backlog, effort estimates, and what we'd ship first. Read-only access, no contract.

By continuing you agree to our Privacy Policy and Terms.
indexive
ServicesResearchContentTechnical SEOImplementationGEO / AI searchPerformanceMigrations
SolutionsDeclining traffic recoveryAI search visibilitySEO backlog executionTechnical debt cleanupContent at scaleHeads of SEOVPs of Marketing & CMOsLean teams with no SEO
IndustriesB2B SaaSDeveloper toolsCybersecurityFintechHealthcare & life sciencesE-commerceMarketplacesManufacturing & industrialProfessional services
CompanyResearchFree auditSecurityContactLog in
© 2026 Indexive AIPrivacyTermsSan Francisco, CA