Technical SEO

Duplicate without user-selected canonical: which page Google kept, and how to set canonicals by template

Google found two URLs with the same content, neither declared a canonical, so Google picked one. How to check its choice, find where the variants come from, and set canonicals in Next.js and WordPress.

By SEOFix TeamPublished Updated
1,762 words · 8 min readMarkdown
Duplicate without user-selected canonical: which page Google kept, and how to set canonicals by template

"Duplicate without user-selected canonical" means Google found this URL, decided its content is a duplicate of another URL, saw no rel="canonical" telling it which one you prefer, and picked the other one as the canonical. This URL won't be shown in search; the one Google picked will. Most of the time that's correct and needs no action. It needs fixing when Google picked the wrong version, when the "duplicate" is really a different page, or when thousands of variants are eating crawl time. The fix is a self-referencing canonical on every indexable template, plus cleaning up whatever creates the variant URLs.

Google's description, from the Page indexing report help (checked 2 November 2026):

"This page is a duplicate of another page, although it doesn't indicate a preferred canonical page. Google has chosen the other page as the canonical for this page, and so will not serve this page in Search."

And straight after: "This is not an error, but is working as intended, because Google does not serve duplicate pages."

Step 1: see which URL Google kept

The report doesn't show the chosen canonical. URL Inspection does. Click the inspect icon next to an example URL and look at Page indexing:

  • User-declared canonical: what your page declares. For this status it's "None" (that's the "without user-selected" part).
  • Google-selected canonical: the URL Google indexed instead.

Two limits from the URL Inspection help: the canonical choice is only in the indexed data ("the live test cannot predict whether or not the tested version will be considered canonical"), and Google only shows details about the canonical "if the canonical version is in a property that you own". If the Google-selected canonical sits on another domain you don't have in Search Console, see "A copycat or another host" below.

Now compare the two URLs. Usually the difference is obvious once you see them side by side:

Example URL (not indexed)Google-selected canonicalVariant source
http://example.com/pricinghttps://example.com/pricingProtocol
https://www.example.com/pricinghttps://example.com/pricingHost
https://example.com/pricing/https://example.com/pricingTrailing slash
https://example.com/jobs?utm_source=xhttps://example.com/jobsTracking parameter
https://example.com/shoes?sort=pricehttps://example.com/shoesSort or filter parameter
https://example.com/Jobs/Dubaihttps://example.com/jobs/dubaiCase
https://example.com/blog/post-1/amphttps://example.com/blog/post-1Alternate rendering

Step 2: decide whether Google's choice is right

Google kept the URL you want, and the duplicate is a junk variant. That's the common case. Nothing is broken, but add canonicals anyway (Step 3) and remove the source of the variant if you can, because each variant is a URL Google keeps crawling. Google's canonicalization overview says the canonical "will be crawled most regularly; duplicates are crawled less frequently". Less frequently still adds up when there are thousands of them.

Google kept a URL you don't want (the http version, the parameter version, the old path). Add explicit signals for the right one. Google lists them by strength in its consolidation guide: redirects ("a strong signal that the target of the redirect should become canonical"), rel="canonical" ("a strong signal"), and sitemap inclusion ("a weak signal"). It also says the methods "can stack", so use more than one.

The page isn't a duplicate. Two pages that differ only in a city name, a size, or one table row can look the same to Google. The help text covers this: "if you think that this page is not a duplicate of the Google-chosen canonical, you should ensure that the content differs substantially between the two pages." A canonical won't separate them; different content will.

Step 3: add canonicals by template, not by URL

Google says a canonical is optional and your site "will likely do just fine without" one (consolidation guide). On a site that produces URL variants, though, a self-referencing canonical on every indexable page is the cheapest fix, because it settles every variant of that page at once: ?utm_source=, ?ref=, the trailing slash, the uppercase path. Google's best practices: "Do include a rel="canonical" link on the canonical page itself", use absolute URLs, and put it in the <head>.

The rule for a self-referencing canonical: build it from your clean route, never from the incoming request URL. A canonical that echoes request.url copies the ?utm_source=x into the canonical and declares every variant its own canonical.

Next.js (App Router)

Set metadataBase once in the root layout and a path-only canonical per route (Next.js docs):

// app/layout.tsx
import type { Metadata } from 'next'

export const metadata: Metadata = {
  metadataBase: new URL('https://example.com'),
}
// app/jobs/[slug]/page.tsx
import type { Metadata } from 'next'

export async function generateMetadata(
  { params }: { params: Promise<{ slug: string }> }
): Promise<Metadata> {
  const { slug } = await params
  return {
    // built from the route, so ?utm_source=… never reaches the canonical
    alternates: { canonical: `/jobs/${slug}` },
  }
}

The output is <link rel="canonical" href="https://example.com/jobs/<slug>">. For list pages with filters, decide per parameter: a sort order gets the unsorted URL as canonical; a page number keeps its own (see pagination below).

Make the canonical agree with Next.js's trailing slash behaviour. By default Next.js redirects /about/ to /about, and trailingSlash: true reverses that (trailingSlash docs). If your canonicals end in / but the server redirects to the no-slash version, every canonical points at a redirect, which is a mixed signal.

WordPress

Core WordPress only prints a canonical on singular views. rel_canonical() returns early if ( ! is_singular() ) (WordPress reference). Posts and pages get one; category, tag, author, date and search archives don't, unless an SEO plugin adds them. That's why WordPress sites often see this status on archive and paginated archive URLs.

Your options: let your SEO plugin output canonicals for archives (most do), or adjust core's singular canonical with the get_canonical_url filter (hook reference):

// functions.php: strip query strings from the canonical of singular posts
add_filter( 'get_canonical_url', function ( $canonical_url, $post ) {
    return strtok( $canonical_url, '?' );
}, 10, 2 );

Check after deploying that there's exactly one canonical in the HTML. A theme plus a plugin each printing their own is a common source of conflicting canonicals:

curl -s https://example.com/category/news/ | grep -io '<link[^>]*rel=["'"'"']canonical["'"'"'][^>]*>'

Step 4: remove the variant at its source

Canonicals tell Google which URL to keep. They don't stop variants from being created or crawled. Go through the variant sources from Step 1:

  • Protocol and host. 301 every http:// and www/non-www request to the one version you use. Google calls redirects the strongest signal and says HTTPS is preferred "except when there are issues or conflicting signals" such as an invalid certificate or HTTPS-to-HTTP redirects (consolidation guide).
  • Trailing slash and case. Pick one form and redirect the other. Next.js handles the slash by default; check your CDN and any custom server for case.
  • Internal links. Google: "When linking within your site, link to the canonical URL rather than a duplicate URL." Grep your templates for links that add ?ref=, ?from= or session parameters, and for hard-coded http:// links.
  • Sitemap. List only canonical URLs. Google warns not to specify "one URL in a sitemap, but a different URL for that same page using rel="canonical"."
  • Faceted navigation. For filter URLs you don't need indexed, Google recommends disallowing them in robots.txt (faceted navigation). Canonicalising filtered URLs to the unfiltered list "may, over time, decrease the crawl volume", but Google calls it "generally less effective in the long term" than blocking.

Don't use robots.txt or noindex as a canonicalisation tool for pages that are duplicates of each other. Google: "Don't use the robots.txt file for canonicalization purposes", and noindex "will completely block the page from Search" (consolidation guide). Robots.txt for filter spaces you never want crawled is a different case, covered above.

Cases that need care

Paginated lists. Google's pagination guide says: "Don't use the first page of a paginated sequence as the canonical page. Instead, give each page its own canonical URL" (pagination guide). If ?page=2 shows up as a duplicate of page 1, the page probably renders page 1's items (pagination done in JavaScript, or the parameter is ignored server-side). Fix the rendering, then give ?page=2 a self-canonical.

Empty list pages. A category or search URL with zero results renders only the layout, and every empty one is a duplicate of every other. Return 404 for filter combinations with no results, as Google's faceted navigation guide recommends.

Language versions. Google says localized pages "are considered duplicates only if the primary content is in the same language" (canonicalization). If /de/pricing is in this report, check whether the German page's body is translated.

A copycat or another host. If the Google-selected canonical is on a domain you don't recognise, Google's troubleshooting guide lists misconfigured servers, hacked sites injecting canonicals and scrapers (fix canonicalization issues). Check your own <head> and response headers first, then the other site.

After the fix

Re-evaluation isn't instant. Google's troubleshooting guide says "Google might hold pages in a duplicate cluster for up to two weeks" after you fix content issues, and suggests Request Indexing only for your most important URLs, since it's "subject to quotas" (fix canonicalization issues). Then run Validate fix on the issue. For URLs that should stay duplicates (tracking variants), the status will remain, which is correct. What you want to see is the right URL in "Google-selected canonical".

If you added a canonical and Google still picked a different URL, the status changes to "Duplicate, Google chose different canonical than user". That one has its own causes: why Google chose a different canonical. If you set canonicals on purpose to point variants elsewhere, those URLs move to "Alternate page with proper canonical tag", which is usually fine: when that status hides a bug.

How SEOFix finds the sources

An SEOFix audit flags CANONICAL_MISSING on 200 HTML pages with no canonical and DUPLICATE_CONTENT when two indexable pages have identical body text, with the duplicate URLs listed. Both are grouped by URL template (indexability checks, fixing by template), so "missing canonical" on 4,000 job pages is one task on /jobs/[slug], and both can be rechecked straight after a deploy. With Search Console connected, the not-indexed triage puts pages where Google chose another canonical into a Duplicates group with a canonicalize action.

FAQ

Is "Duplicate without user-selected canonical" bad? Not by itself. Google calls it "working as intended". It's a problem when Google kept the wrong URL or the pages aren't really duplicates.

Do I need a canonical on every page? Google says no, but a self-referencing canonical built from the clean route resolves every parameter, slash and case variant of that page in one line.

Will a canonical force Google to pick my URL? No. Google says "indicating a canonical preference is a hint, not a rule" (canonicalization). Back it up with redirects, consistent internal links and a clean sitemap.

Why does Google say my homepage is a duplicate of /?ref=…? Something links to the parameter version. Find the links (internal templates, email campaigns, partner sites), add a self-canonical to the homepage, and point internal links at the clean URL.


See which templates are missing canonicals and which pages duplicate each other: the first SEOFix audit is free (up to 500 pages).

ShareXLinkedIn