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.

Contents
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
| Type | URL in sitemap | Canonical points to |
|---|---|---|
| Parameters | /shoes/red-trainers?colour=red | /shoes/red-trainers |
| Tracking tags | /pricing?utm_source=facebook | /pricing |
| Protocol | http://example.com/about | https://example.com/about |
| www or not | https://www.example.com/about | https://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 → Pages | What it means |
|---|---|
| Alternate page with proper canonical tag | The page correctly points elsewhere, so it shouldn’t be in the sitemap. |
| Duplicate, Google chose different canonical than user | Your canonical tag and Google disagree. Check which version you really want. |
| Duplicate without user-selected canonical | The 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
- 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
noindexpages. - Look in Google Search Console. Use the statuses in the table above.
- Review the full list. Export every URL with our Sitemap URL Extractor, then filter for
?,http://,www.orutm_. Click Check status to find URLs that redirect, which often reveals protocol and www mix-ups.
How to fix it
- Decide the canonical version of each duplicate page. Usually it is the clean URL without parameters, on
httpsand your preferred domain. - Make every canonical page self-referencing, so its canonical tag points to its own address.
- Remove non-canonical URLs from the sitemap (see the platform notes below).
- Keep internal links consistent. Link to the canonical address everywhere on your site, not to parameter versions.
- 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.


