Skip to content
Nazmul Nikhil
Menu

Non-Canonical Page in Sitemap (Ahrefs): List Only Canonical URLs

Ahrefs flags sitemap URLs whose canonical points to another page. Sitemaps are a canonical signal, so list only canonical URLs. Here's how.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Non-Canonical Page in Sitemap (Ahrefs): List Only Canonical URLs
Photo: Leandro Barreto on Unsplash

In short

Ahrefs flags "Non-canonical page in sitemap" for sitemap URLs whose canonical tag points to a different URL. Google treats sitemap inclusion as a canonicalization signal, so the sitemap and the canonical tag disagree. Replace each listed URL with its canonical, or fix the canonical if the tag is what's wrong.

Google uses sitemaps as one of the signals for choosing canonical URLs. Listing a non-canonical URL weakens your own canonical tags.

Which one is wrong?

Situation Fix
Sitemap lists /page, canonical is /page/ Make the sitemap use the canonical format
Sitemap lists variants that canonicalize to the main product Exclude variants from the sitemap
A page has a wrong canonical (pointing to the home page, say) Fix the canonical tag
Paginated pages canonicalize to page 1 Use self-referencing canonicals on paginated pages

How to fix it

WordPress: sitemaps list the post URL. Conflicts usually come from custom canonicals in a post's Advanced tab. Clear the custom canonical, or exclude that post from the sitemap.

Shopify: sitemaps list clean product URLs; conflicts often come from theme code changing canonicals.

Webflow: check Page settings > SEO settings > Page canonical URL, and the global canonical in Site settings > SEO.

Wix: check the canonical in the page's SEO settings.

Custom builds: use one function for both the canonical tag and the sitemap entry.

This guide isn't affiliated with or endorsed by Ahrefs.

Sources and references

TAGSAhrefs Site AuditNon-canonical page in sitemapSitemap canonical urlsCanonical sitemap conflict
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com