Quick answer: An XML sitemap is a file listing the URLs you want search engines to know about. It helps discovery, particularly on large, new or poorly linked sites. It does not guarantee indexing, does not improve rankings by itself, and should contain only canonical, indexable URLs that return a 200 status.

Sitemaps are one of the easiest technical wins and one of the most commonly mismanaged files on a website. A sitemap full of redirects, 404s and noindexed URLs sends conflicting signals about which pages matter.
Key Takeaways
- Sitemaps aid discovery, not ranking.
- Only canonical, indexable, 200-status URLs belong in them.
- Automatic generation beats manual files, because it stays current.
- A clean sitemap makes Search Console reporting far more useful.
What a Sitemap Does
A sitemap tells search engines which URLs exist and, optionally, when they were last modified. Google describes sitemaps as useful for discovery, particularly when a site is large, new, has few external links or has pages that are not well linked internally (Google Search Essentials).
It does not:
- Guarantee that a URL will be crawled
- Guarantee that a URL will be indexed
- Improve rankings on its own
- Replace good internal linking
What Belongs in a Sitemap
| Include | Exclude |
| Canonical URLs you want indexed | Non-canonical duplicates |
| Pages returning 200 | Redirected URLs and 404s |
| Indexable pages | Pages with noindex |
| Important content, service and location pages | Tag archives with no value |
| Blog posts you want found | Internal search results |
| Product and category pages | Thank-you and utility pages |
| Images and videos, where relevant | Admin, login and staging URLs |
The rule: if you would not want it indexed, it does not belong in the sitemap.
Sitemap Index Files
Large sites split sitemaps into several files referenced by an index file. This is standard practice for ecommerce and publishers, and it makes reporting clearer.
A practical split:
- Pages
- Blog posts
- Products
- Categories
- Images
Benefit: Search Console reports submitted and indexed counts per file, so you can see which content type has an indexing problem.
Sitemaps in WordPress
| Source | Behaviour |
| WordPress core | Generates a basic sitemap automatically |
| SEO plugins | Usually replace it with a fuller, configurable sitemap index |
| Ecommerce plugins | Add product and category sitemaps |
| Manual files | Rarely justified; they become stale quickly |
If you use an SEO plugin, disable competing sitemap sources so only one authoritative sitemap exists.
Submitting Your Sitemap
- Confirm the sitemap loads in a browser and returns 200
- Open Google Search Console and select the correct property
- Submit the sitemap index URL under the Sitemaps report
- Add the sitemap line to robots.txt so other crawlers find it
- Check back after a few days for the read status and any errors
- Resubmit only if the URL changes; routine resubmission is unnecessary
Reading the Sitemaps Report
| Reported value | What it means |
| Discovered URLs | How many URLs Google read from the file |
| Status: success | The file parsed correctly |
| Couldn’t fetch | Server, robots or URL problem |
| Has errors | Invalid URLs, wrong format or unsupported entries |
| Indexed count, via the pages report | How many of those URLs are actually indexed |
The gap between submitted and indexed is the useful number. A large gap points to content quality, duplication or crawl issues rather than a sitemap problem.
Large gap between submitted and indexed URLs? That is a diagnosis, not a sitemap fix. Donvic identifies which. See Donvic’s SEO service.
Common Sitemap Problems
- Redirected URLs listed, so Google follows a hop to reach the real page
- 404s left in the file after content deletion
- Noindexed URLs included, contradicting the sitemap’s purpose
- Non-canonical parameter URLs included
- Sitemap blocked in robots.txt
- Sitemap returning a 404 after a plugin change
- Stale file generated once and never updated
- Multiple competing sitemaps from different plugins
Sitemap Myths
| Myth | Reality |
| “A sitemap improves rankings” | It aids discovery only |
| “Every URL in the sitemap gets indexed” | Indexing is never guaranteed |
| “Resubmitting daily speeds up indexing” | It does not |
| “Small sites do not need one” | Useful, though internal links matter more |
| “Lastmod dates force recrawling” | They are hints, and false dates reduce trust |
| “You need a manual HTML sitemap too” | Only if it genuinely helps users navigate |
Maintenance Routine
- Confirm the sitemap loads monthly
- Check the Search Console Sitemaps report for errors
- Re-crawl after any major content change
- Verify new sections appear in the file
- Remove deleted content promptly
- Re-check after plugin or platform updates
Frequently Asked Questions
What is an XML sitemap?
An XML sitemap is a file listing the URLs on a website that the owner wants search engines to know about. It aids discovery, particularly for large, new or poorly linked sites, but it does not guarantee crawling or indexing.
Do XML sitemaps help SEO?
They help search engines discover URLs, which matters most for large, new or poorly linked sites. They do not improve rankings directly, and they do not compensate for weak internal linking or thin content.
What URLs should be in my sitemap?
Only canonical, indexable URLs that return a 200 status. Exclude redirects, 404s, noindexed pages, duplicate parameter URLs, internal search results and utility pages such as thank-you screens.
How do I submit a sitemap to Google?
Open Google Search Console, select the correct property, go to the Sitemaps report and submit the sitemap URL. Also reference the sitemap in robots.txt so other search engines can find it.
Why are my sitemap URLs not indexed?
Sitemaps aid discovery, not indexing decisions. A large gap between submitted and indexed URLs usually indicates thin or duplicate content, weak internal linking or crawl prioritisation issues rather than a sitemap fault.
Conclusion
An XML sitemap is a discovery aid, nothing more. Keep it automatic, keep it clean, submit it once and use the submitted-versus-indexed gap as a diagnostic signal.
Request a technical SEO audit. We will clean your sitemap and explain what the indexing gap is really telling you. Contact Donvic Marketing.