Check a sitemap
Enter a domain and we look in robots.txt, then /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml. For an index we read up to six child sitemaps and test ten URLs spread across the list.
A healthy sitemap is listed in robots.txt, stays under 50,000 URLs and 50 MB per file, uses absolute URLs on your own host, and contains only pages that answer 200 and are indexable. Google ignores priority and changefreq and trusts lastmod only when it matches real edits.
What the checker tests
| Check | Why it matters | Rule source |
|---|---|---|
| Sitemap line in robots.txt | Lets every crawler, including Bing and AI search bots, find the file without a console | Google sitemap guide |
| Index or URL set, child files reachable | An index pointing to a 404 child hides every URL in it | sitemaps.org |
| URL count per file | 50,000 URLs or 50 MB uncompressed is the limit per file | Google sitemap guide |
| Same host, https | URLs on another host are ignored unless you verify both; http URLs on an https site point at redirects | Google sitemap guide |
lastmod present | Used to decide what to recrawl, if it is accurate | Google sitemap guide |
| Sample URLs: status 200, no noindex | Listed pages that redirect, break or say noindex become exclusions in Search Console | Google Page indexing report |
Why we test a spread, not the first ten
The first URLs in a sitemap are usually the homepage and main sections, which are almost always fine. Problems hide further down: old posts that now redirect, deleted products, tag pages set to noindex. The checker takes every n-th URL across the whole list, so a sample of ten covers the start, middle and end of the file.
Typical findings and fixes
- Old posts that 301 elsewhere. Common after a slug change or migration. List the new URL; most SEO plugins rebuild the sitemap from published content, so check for a redirect plugin that kept old entries.
- Tag, author and attachment pages with noindex. WordPress SEO plugins let you noindex these and exclude them from the sitemap in the same settings screen. Do both.
- The www and non-www mix. A sitemap on
www.listing bare-domain URLs, or the reverse. Every listed URL then starts with a redirect. - Every lastmod equal to today. A generator that stamps the build date on every URL. Google stops trusting the field; set it from each page's real modified date.
- Static sites with no sitemap. Next.js can generate one from
app/sitemap.ts; Webflow and Framer create one in site settings. Hand-written sitemaps go stale within weeks.
A minimal valid sitemap
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/pricing</loc>
<lastmod>2026-11-03</lastmod>
</url>
</urlset>
# robots.txt
Sitemap: https://example.com/sitemap.xml
When the checker comes back clean, submit the sitemap in Search Console and Bing Webmaster Tools. If pages from a clean sitemap still sit in "Discovered, currently not indexed", the problem is no longer the file; see that fix guide.
Questions people ask
Do I need a sitemap if my site is small?
Google says a sitemap helps most with large sites, new sites with few links pointing to them, and sites with lots of rich media. A small, well-linked site can be found without one, but it costs nothing and gives you the Sitemaps report in Search Console.
Does Google use priority and changefreq?
No. Google ignores both. It uses lastmod, but only when the dates are consistently accurate.
Should I list noindex or redirected pages?
No. List only the canonical URLs you want in results. Every redirected, noindexed or broken URL you list turns into an exclusion line in the Page indexing report and makes the file a weaker signal.
Where does Bing find my sitemap?
From the Sitemap line in robots.txt or from Bing Webmaster Tools, where you can submit it or import your Search Console setup.
Related
Sources
- Google Search Central: Build and submit a sitemap, accessed 2026-11-12.
- Google Search Central: Learn about sitemaps, accessed 2026-11-12.
- sitemaps.org protocol, accessed 2026-11-12.