Skip to content
Nazmul Nikhil
Menu

Incorrect Pages Found in Sitemap.xml (Semrush): Keep Only Indexable URLs

Semrush found redirects, non-canonical pages or error URLs in your sitemap. Here's why a sitemap should list only final, indexable URLs and how to clean it.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Incorrect Pages Found in Sitemap.xml (Semrush): Keep Only Indexable URLs
Photo: Camilo Rueda López on Unsplash

In short

Semrush flags "Incorrect pages found in sitemap.xml" when your sitemap lists URLs that redirect, aren't canonical, or don't return a 200 status. Search engines waste crawls on them and may trust the sitemap less. List only final, canonical, indexable URLs that return 200.

A sitemap is a list of pages you want indexed. Anything else on it sends mixed signals.

What to remove or replace

Sitemap entry Fix
URL that redirects Replace with the final URL
URL whose canonical points elsewhere Remove, or list the canonical URL instead
404 or 410 page Remove
5xx page Fix the server error
Noindex page Remove from the sitemap, or remove the noindex
HTTP version of an HTTPS site Use HTTPS URLs

How to fix it

  1. Export the flagged URLs from Semrush and group them by reason.

  2. Fix the generator's rules, not individual entries:

    • WordPress: Yoast and Rank Math exclude noindexed content automatically; check for a second sitemap plugin or hardcoded URLs.

    • Shopify, Webflow and Wix: check for redirected pages that are still published, and pages excluded from search that still show in a custom sitemap.

    • Custom builds: build the sitemap from the same data as canonicals, and skip drafts, redirects and noindexed pages.

  3. Resubmit the sitemap in Search Console.

Common mistakes

  • Leaving old URLs after a site migration.

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

Sources and references

TAGSSemrush Site AuditSemrush incorrect pages found in sitemap.xmlSitemap redirectsNon-canonical in sitemap
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