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.
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.
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 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.
| Signal | Stated strength | What the documentation says |
|---|---|---|
| Permanent redirect (301, 308) | Strong | A strong signal that the redirect target should become canonical. Use it when retiring a duplicate page. |
| rel=canonical link element or HTTP header | Strong | A strong signal that the specified URL should become canonical. |
| Sitemap inclusion | Weak | Pages listed in a sitemap are suggested as canonicals, and Google decides which pages, if any, are duplicates based on content similarity. |
| HTTPS over HTTP | Default preference | Google prefers HTTPS pages as canonical unless there are issues or conflicting signals. |
| Membership in an hreflang cluster | Preference | Google prefers URLs that are part of hreflang clusters. |
| Internal links | Recommended, strength not stated | Link to the canonical URL rather than a duplicate. Consistent linking helps Google understand your preference. |
| Temporary redirect (302, 307) | Weak | The target might still be indexed if other canonicalization signals are present. |
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.
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.
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.
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>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"| Rule | Source statement | Practical reading |
|---|---|---|
| One canonical per page | RFC 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 URLs | Google 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 canonical | Google recommends a self-referential canonical on the canonical page. | Add it to every indexable page, not only the duplicates. |
| No fragments | Google generally does not support URL fragments, so a fragment should not be specified as canonical. | Never end a canonical in #section. |
| Placement | Only accepted in the HTML head. | Validate the head, or send an HTTP header instead. |
| Ignored attributes | Canonical annotations with hreflang, lang, media and type attributes are not used for canonicalization. | Use rel=alternate for variants. Do not decorate canonical. |
| Target status | RFC 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 relationship | RFC 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 consistency | Do not name different canonicals through different methods. | Make sitemap, element and header agree. |
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);
});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.
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.
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.
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.
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" />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.
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.
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$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.
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.
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.
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/">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.
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.
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.
| Status | What Google says it means | What to do |
|---|---|---|
| Alternate page with proper canonical tag | The 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 canonical | The 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 user | The 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. |
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.
Most canonical problems are two signals that disagree. These are the failures Google or RFC 6596 name.
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.
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.
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.
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.
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.
These cases apply the documented rules. None is a measured outcome from a particular site.
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.
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.
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.
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.
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.
| Situation | First choice | Fallback | Do not |
|---|---|---|---|
| Old URL is retired | 301 to the replacement | Canonical if redirects are impossible | Redirect to an unrelated page |
| http vs https, www vs non-www | 301 to one origin | Self-referencing canonical on the target | Chain redirects or canonical to an HTTP page |
| Tracking parameter on the same content | Canonical to clean URL | Strip parameters at the edge and 301 | Link internally with parameters |
| Sort order on a list | Keep out of crawl or index | Canonical to the default order | Index each ordering |
| Filter combinations | robots.txt for patterns you never want | Canonical to a parent list | Return 200 for empty results |
| Paginated list | Each page self-canonical | Consider a view-all page only if usable | Canonical every page to page one |
| PDF twin of an HTML page | Link header canonical to the preferred file | Block or remove the duplicate file | Use both header and HTML with different targets |
| Partner republishes your article | Partner adds noindex | Cross-domain canonical, knowing it is only a hint | Assume the canonical is binding |
| Same-language regional pages | Self-canonical plus hreflang on each | Consolidate and redirect | Canonical all regions to one and keep hreflang |
| Separate mobile URLs | Mobile canonical to desktop, desktop alternate to mobile | Move to responsive design | Canonical desktop to mobile |
| Print version | Remove the URL, use a print stylesheet | Canonical to the main page | Leave it indexable |
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.
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["'"'"'][^>]*>'curl -s -D - -o /dev/null https://example.com/downloads/white-paper.pdf \
| grep -i '^link:'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"
donecurl -sIL http://example.com/blog/post | grep -iE '^(HTTP|location)'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.
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 were last checked on October 14, 2026. Documentation changes, so confirm any detail that matters to a decision against the source itself.
Indexive Research. (2026, July 22). How Google picks the canonical URL for a page. Indexive AI. https://indexive.ai/research/canonical-urls-explained
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.
A free execution audit: your prioritized backlog, effort estimates, and what we'd ship first. Read-only access, no contract.