Non-Canonical URLs in Your Sitemap: Why They Matter and How to Fix Them

Mixed signals waste crawling. How to find non-canonical URLs in your sitemap and clean them up.

Non-Canonical URLs in Your Sitemap: Why They Matter and How to Fix Them
Contents
  1. What is a canonical URL?
  2. What is a non-canonical URL in a sitemap?
  3. Why it matters
  4. Search Console statuses that point to this problem
  5. How to find non-canonical URLs in your sitemap
  6. How to fix it

A non-canonical URL in a sitemap is a page whose canonical tag points to a different address. The fix is simple: list only the canonical version of each page, the one whose canonical tag points to itself. Leave out parameter, http, non-www, trailing-slash and other duplicate versions. Site audit tools warn about this, and Search Console reports it as statuses like “Alternate page with proper canonical tag”. It won’t cause a penalty, but it sends Google mixed signals and wastes crawling. This guide shows the common types with examples, how to find them in your sitemap, and how to fix them on WordPress, Shopify and custom sites.

What is a canonical URL?

When the same content is available at more than one address, the canonical URL is the version you want search engines to index. You declare it with a tag in the page’s <head>:

<link rel="canonical" href="https://example.com/shoes/red-trainers">

A page whose canonical tag points to its own address is self-canonical. Those are the pages that belong in your sitemap.

What is a non-canonical URL in a sitemap?

A non-canonical URL is a page whose canonical tag points to a different address. If your sitemap lists it, you are telling Google two things at once. The sitemap says “please index this page”, while the canonical tag says “don’t index this page, index the other one”.

Common types, with examples

TypeURL in sitemapCanonical points to
Parameters/shoes/red-trainers?colour=red/shoes/red-trainers
Tracking tags/pricing?utm_source=facebook/pricing
Protocolhttp://example.com/abouthttps://example.com/about
www or nothttps://www.example.com/abouthttps://example.com/about
Trailing slash/blog/post//blog/post
Same product in a category path/collections/shoes/products/red-trainers/products/red-trainers
Print or AMP versions/article/print/article

In every row, the sitemap should list the address in the right-hand column, which is the one that canonicalises to itself.

Why it matters

  • Mixed signals. Google treats sitemap URLs as a canonical hint. When they conflict with your canonical tags, it is harder for Google to pick the version you want.
  • Wasted crawling. Google spends time on duplicate pages instead of your real ones.
  • Confusing reports. Search Console shows many “not indexed” pages, which hides real problems.

It won’t cause a penalty, but a clean sitemap with only canonical URLs gets your important pages crawled and indexed more reliably. The same rule applies to every other kind of URL that shouldn’t be listed (redirects, 404s and noindex pages), as covered in What Is an XML Sitemap?

Search Console statuses that point to this problem

Status in Indexing → PagesWhat it means
Alternate page with proper canonical tagThe page correctly points elsewhere, so it shouldn’t be in the sitemap.
Duplicate, Google chose different canonical than userYour canonical tag and Google disagree. Check which version you really want.
Duplicate without user-selected canonicalThe page has no canonical tag and Google treats it as a duplicate. Add one.

Filter the report by your sitemap to see only the URLs your sitemap lists.

How to find non-canonical URLs in your sitemap

  1. Check a sample with our Sitemap Checker. Enter your sitemap in the Sitemap Checker and tick Also test a sample of 25 listed pages. It flags every sampled page whose canonical URL points somewhere else, plus redirects and noindex pages.
  2. Look in Google Search Console. Use the statuses in the table above.
  3. Review the full list. Export every URL with our Sitemap URL Extractor, then filter for ?, http://, www. or utm_. Click Check status to find URLs that redirect, which often reveals protocol and www mix-ups.

How to fix it

  1. Decide the canonical version of each duplicate page. Usually it is the clean URL without parameters, on https and your preferred domain.
  2. Make every canonical page self-referencing, so its canonical tag points to its own address.
  3. Remove non-canonical URLs from the sitemap (see the platform notes below).
  4. Keep internal links consistent. Link to the canonical address everywhere on your site, not to parameter versions.
  5. Submit the sitemap again in Search Console and give Google a few weeks to re-crawl.

WordPress

Core WordPress and SEO plugins such as Yoast and Rank Math list the main address of each post. Problems usually come from a wrong Site Address in Settings → General (http instead of https, or the wrong www version), or from a canonical URL set by hand on a single post. Fix the setting, then check the sitemap again. See our WordPress sitemap guide for where each sitemap lives.

Shopify

Shopify’s sitemap lists products at /products/…, which is the canonical address, even though shoppers also reach them through collection paths. Problems usually come from theme or app links that use the collection path. Link to /products/… where you can. For more on stores, see our ecommerce sitemap guide.

Custom sites

Regenerate the sitemap from your canonical URLs, not from your database IDs or every route. Or use our XML Sitemap Generator, which reads each page’s canonical tag and leaves out any URL that points somewhere else, along with redirects and noindex pages.

Multilingual site? Language versions should each be self-canonical. Don’t point them all to one language, and connect them with hreflang instead. See hreflang in XML sitemaps.

Frequently asked questions

Quick answers to the questions we hear most. Still have a question? Ask us through our contact page.

What is a non-canonical URL?

A page whose canonical tag points to a different address — for example a URL with tracking or filter parameters.

Should non-canonical URLs be in my sitemap?

No. A sitemap should only list the canonical, indexable version of each page.

Will non-canonical URLs cause a penalty?

No, but they send mixed signals, waste crawl time and make Search Console reports harder to read.

How do I find them?

Test a sample of your sitemap pages with a sitemap checker, and review the Pages report in Search Console.

What does “Alternate page with proper canonical tag” mean?

The page correctly points to another URL with its canonical tag, so Google indexes that other URL. It is not an error, but the page should not be in your sitemap.

Should I list http and www versions in my sitemap?

No. List only your preferred version, for example https without www, and redirect the other versions to it.

Crawly

Crawly is the friendly sitemap guide of XML Sitemap Generator. Every guide is written and checked by the team behind our free sitemap tools.

Related articles

Sitemap Guides

What Is an XML Sitemap? Format, Tags & Examples

22 Nov 2026 · 7 min read
Technical SEO

Hreflang Sitemap: How to Add Language Versions to Your XML Sitemap

23 Nov 2026 · 7 min read
Sitemap Guides

Ecommerce Sitemap: Best Practices for Online Stores

23 Nov 2026 · 6 min read