Back to Blog
    Indexing

    Canonical issues: what causes them and how to fix each one

    Flowra TeamDec 1, 202612 min read

    A canonical issue happens when the same content can be reached at more than one URL, and the signals that tell Google which version is the main one are missing, conflicting or ignored. Google then picks a “canonical” URL itself, and it may not be the one you want to rank. Most canonical issues come from a short list of causes: www and non-www, HTTP and HTTPS, URL parameters and trailing slashes. The fix is usually 301 redirects, consistent canonical tags and clean internal links.

    Many guides get one thing wrong: a canonical tag is a hint, not an order. Google’s documentation calls rel=canonical a strong signal and states that “Google will decide which pages (if any) are duplicates, based on similarity of content.” Fixing canonical issues means making every signal agree, so Google has no reason to overrule you. For the wider picture of how pages get into Google, start with indexing in SEO.

    What is a canonical issue in SEO?

    Take one product page. All of these URLs can load it:

    https://example.com/shoes
    https://www.example.com/shoes
    http://www.example.com/shoes
    https://www.example.com/shoes/
    https://www.example.com/shoes?utm_source=newsletter

    To you that is one page. To Google it is five URLs with the same content. Google groups them as duplicates, picks one as the canonical, and mostly shows that one in results. A canonical issue is any case where that choice is unclear, inconsistent, or different from what you intended.

    You may also see “canonical error” or “canonical issue” in an audit tool. Search Console has no report with that name. Those labels usually mean one of the problems below.

    What causes canonical issues?

    • www and non-www: both hostnames serve the site, and neither redirects to the other.
    • HTTP and HTTPS: the old HTTP version still loads when it should redirect.
    • URL parameters: UTM tags, session IDs, sort orders and filters create new URLs for the same content.
    • Trailing slashes: /shoes and /shoes/ both return the page.
    • Separate mobile sites: an m.example.com version duplicates the desktop pages.
    • Syndicated content: a partner republishes your article on their site.
    • CMS quirks: the same post loads through several category paths, print versions, uppercase URLs, or index.html.

    Why canonical issues are a problem

    • The wrong URL shows in results. Google may rank a parameter URL or the HTTP version instead of your clean URL.
    • Link signals split. If some sites link to www and others to non-www, the links point at different URLs until Google consolidates them.
    • Crawl budget gets wasted. Googlebot spends visits on duplicates. On a small site this rarely matters. On a large store with faceted navigation it can slow the discovery of new pages.
    • Your reports get messy. Clicks and impressions spread across several URLs in Search Console, so a page looks weaker than it is.

    Ordinary duplication like this carries no penalty. Google consolidates the duplicates and picks one. Copying other sites’ content to game rankings is a spam problem, which is a different thing.

    How to check your site for canonical issues

    1. Open Search Console > Indexing > Pages. In the “Why pages aren’t indexed” table, look for the three canonical reasons covered in the next section. Click a reason to see example URLs.
    2. Inspect important URLs one by one with URL Inspection (walkthrough below).
    3. Crawl the site with an audit tool. Any crawler will show the canonical URL for each page. Filter for pages whose canonical points somewhere other than themselves, canonicals pointing at redirects or errors, and pages with no canonical.
    4. Run a few site: searches. site:example.com inurl:utm or site:http://example.com can surface duplicate versions Google knows about. The results are rough and incomplete, so treat this as a quick spot check.
    5. Check a single page by hand. View the source and search for rel="canonical". For PDFs and other files, run curl -I https://www.example.com/file.pdf and look for a Link: header with rel="canonical".

    Compare your canonical with Google’s using URL Inspection

    This is the most useful single check, and few guides explain it.

    1. In Search Console, paste the full URL into the search bar at the top.
    2. Open the Page indexing section and expand it.
    3. Find two lines: User-declared canonical (what your page says) and Google-selected canonical (what Google chose).
    4. If they match, you are fine. If they differ, Google has overruled you, and you need to find out why (see “Duplicate, Google chose different canonical than user” below).
    5. Click Test live URL to confirm what the page declares right now. The live test only shows your declared canonical. Google’s selection comes from the indexed version, so after a fix it updates only once Google recrawls.

    How to fix the three canonical reports in Search Console

    Alternate page with proper canonical tag

    This means the page points its canonical at another URL, and Google agreed. It is usually fine. Parameter URLs, AMP pages and m-dot pages belong here.

    Act only if a page you want ranked appears in this list. That means its canonical points somewhere else by mistake, often because a template or plugin set it. Change it to a self-referencing canonical, then request indexing in URL Inspection.

    Duplicate without user-selected canonical

    Google found this URL to be a duplicate of another, and the page declares no canonical, so Google picked one itself. To fix it:

    Decision table matching four duplicate URL situations to a redirect, a canonical tag, a content rewrite or a self-referencing canonical.
    Thin pages built on near-identical templates often end up in this report, so check them before adding tags.
    1. Open an example URL in URL Inspection and note the Google-selected canonical.
    2. If the duplicate has no reason to exist (HTTP, non-www, old path), 301 redirect it to the preferred URL.
    3. If it must stay reachable (tracking parameters, filters), add a canonical tag pointing at the preferred URL.
    4. If the page is not meant to be a duplicate, make its content clearly different. Thin pages built on near-identical templates often land here.
    5. Add a self-referencing canonical to the preferred URL as well.

    Duplicate, Google chose different canonical than user

    You declared a canonical and Google picked a different URL. Google does this when your other signals contradict the tag. Check these in order:

    1. Is the content really the same? If your declared canonical is quite different from the page, Google may ignore the tag. If two pages are near-identical and you point each at itself, Google may merge them anyway.
    2. Does your declared canonical return 200 and allow indexing? A redirect, 404 or noindex on the target makes the tag unusable.
    3. Do internal links agree? If your menus link to /shoes/ but the canonical says /shoes, you are sending two messages.
    4. Does the sitemap agree? It should list only the canonical version.
    5. Is HTTPS set up properly? Google’s documentation warns that bad TLS/SSL certificates and HTTPS-to-HTTP redirects make Google prefer HTTP very strongly.

    If Google’s choice is a URL you are happy with, you can leave it. If not, align the signals above, or 301 redirect the URL you don’t want.

    Should you use a 301 redirect or a canonical tag?

    Google’s documentation describes redirects as “a strong signal that the target of the redirect should become canonical”, rel=canonical as a strong signal, and sitemaps as a weak signal. Use the strongest one that fits.

    SituationUseWhy
    HTTP vs HTTPS, www vs non-www301 redirectNobody needs the other version
    Old URL after a move or merge301 redirectVisitors and links land on the live page
    Trailing slash variants301 redirectPick one format sitewide
    UTM and tracking parametersCanonical tagThe URL must work for analytics
    Sort and filter parametersCanonical tagUsers need the filtered view
    Separate mobile siterel="alternate" on desktop, canonical on mobileThe mobile URLs must still load
    Syndicated copy on a partner siteCross-domain canonicalYou don’t control the partner’s server

    Sitewide redirect example (.htaccess)

    On Apache, this sends every HTTP and non-www request to https://www in one hop:

    RewriteEngine On
    RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule ^ https://www.example.com%{REQUEST_URI} [L,R=301]

    Swap in your domain, or reverse the host rule if you prefer non-www. If your site sits behind a CDN or proxy, %{HTTPS} may always read “off”, so test with curl -I and confirm each variant returns a single 301 to the right URL. Nginx, Cloudflare and most hosts have their own setting for this.

    Self-referencing and cross-domain canonicals

    Every indexable page should carry a canonical pointing at its own clean, absolute URL:

    <link rel="canonical" href="https://www.example.com/shoes/" />

    That way, when someone links with ?utm_source= or ?ref=, the tag already tells Google which URL counts. For syndication, ask the partner to put a canonical on their copy pointing at your original. If they won’t, ask them to link back to your original article.

    Canonical tag mistakes that make Google ignore you

    Several of these come straight from Google’s list of things not to do.

    MistakeFix
    Canonical points to a 404, a redirect or another non-200 URLPoint it at the final URL that returns 200
    Canonical target is noindex or blocked in robots.txtMake the target indexable and crawlable
    Chains: A points to B, B points to CPoint A straight at C
    HTTPS page with an http:// canonicalFix the template or the hardcoded site URL
    Relative path (/shoes) or a fragment (#section) as the canonicalUse the full absolute URL, without fragments
    HTML tag and HTTP header declare different canonicalsDeclare one URL with one method
    Sitemap lists non-canonical URLsList only canonical URLs
    Internal links point at duplicatesLink to the canonical URL everywhere
    Language versions canonicalised to one languageGive each hreflang version a self-referencing canonical
    noindex on duplicates instead of a canonicalGoogle doesn’t recommend noindex to choose a canonical within one site
    Duplicates blocked in robots.txtGoogle can’t read the canonical on a blocked page and may still index the URL without its content
    No canonical on identical pagesAdd one, or redirect
    Using the URL removal tool to hide duplicatesIt hides every version temporarily and does not set a canonical

    The hreflang mistake deserves a note. Hreflang says “these pages are translations of each other”. A canonical says “these pages are the same”. If your French page canonicalises to the English one, you are telling Google the French page is a duplicate, and it may drop out of French results.

    Multiple canonical tags on one page

    This usually happens when a theme and an SEO plugin both output a tag, or two SEO plugins run at once. Audit tools flag it as an indexability problem. If the tags point at different URLs, you have given Google contradictory signals, and it will make its own choice. If they are identical, the risk is lower, but the duplicate is still worth cleaning up. Remove every source except one, then check the page source again.

    How to fix canonical issues in WordPress, Shopify and Wix

    WordPress. WordPress core adds a self-referencing canonical to single posts and pages. Yoast SEO adds self-referencing canonicals across the site, and the free version lets you set a custom canonical for a post in the Yoast box under Advanced. Contrary to some older guides, you do not need Premium for this. The common WordPress problem is duplication: two SEO plugins, or a theme that prints its own tag. Also check Settings > General, where both address fields should use your final https:// URL.

    Shopify. Themes output the canonical tag in theme.liquid using the canonical_url Liquid object. Product pages reached through a collection (/collections/sale/products/shoe) canonicalise to /products/shoe. Older themes, however, link internally to the collection path, using the within: collection filter in the product card snippet. Remove that filter so your internal links point at the canonical URL.

    Wix. Wix adds self-referencing canonicals by default. To point a page elsewhere, open the page’s SEO settings and edit the canonical under the advanced SEO options. Your www or non-www choice is set when you connect the domain.

    After any fix on any platform, re-inspect a sample of URLs and click Validate fix on the relevant report under Indexing > Pages.

    What to do next

    1. Open Indexing > Pages in Search Console and note how many URLs sit under each of the three canonical reasons.
    2. Start with “Duplicate, Google chose different canonical than user” on your highest-traffic pages, since that is where Google has overruled you on a page you care about.
    3. Test your HTTP, non-www and trailing slash variants with curl -I, and fix any that don’t 301 in one hop.
    4. Crawl the site once and fix every row in the mistakes table above.
    5. Check the same report again in a few weeks, after Google has recrawled.

    Canonical fixes can quietly undo themselves when a plugin updates or a template changes. If your site runs on WordPress, Flowra’s Index Coverage Monitor (Pro plan) checks whether your pages are indexed and records when that changes, so you don’t have to inspect URLs one at a time.

    Flowra Index Coverage page showing 10 of 12 pages indexed and two not-indexed pages with their coverage reasons
    The coverage reason column tells you why each page is out of the index, sorted by the clicks at stake.

    Frequently asked questions

    What is a canonical issue in SEO?

    A canonical issue is when the same content is reachable at several URLs and the signals about which one is the main version are missing or conflicting. Google then chooses the canonical URL itself. It may choose one you didn’t intend, such as an HTTP or parameter URL.

    Is there a duplicate content penalty?

    No, not for ordinary duplication like www and non-www versions or tracking parameters. Google groups the duplicates and shows one of them. Copying content from other sites to manipulate rankings is handled under Google’s spam policies, which is a separate issue.

    Should I fix canonical issues with a 301 redirect or a canonical tag?

    Use a 301 redirect when nobody needs the duplicate URL, for example HTTP, non-www or an old address. Use a canonical tag when the duplicate must keep working, such as tracking parameters, filtered views or syndicated copies. Google treats both as strong signals, and a redirect also moves visitors to the right page.

    Why does Google ignore my canonical tag?

    A canonical tag is a strong signal, not a directive, so Google overrides it when other signals disagree. Common reasons are a canonical target that redirects or is noindexed, internal links and sitemaps that point at a different URL, or content that differs too much from the declared canonical. URL Inspection shows both your declared canonical and Google’s choice, so you can see exactly where the two diverge.

    What happens if a page has multiple canonical tags?

    If the tags point at different URLs, you have sent Google conflicting signals, and Google will choose the canonical itself. Duplicate tags usually come from a theme and an SEO plugin both adding one. Keep a single source and confirm in the page source that only one tag remains.