What the sitemap checker validates
- Finding it. As a sitemap finder it reads the Sitemap lines in robots.txt first, then tries /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml.
- The format. A sitemap is a
<urlset>of pages or a<sitemapindex>of sitemaps (the sitemap protocol). For an index we open its first three sitemaps. - The addresses. Pages on another host, http addresses on an https site and duplicates are all flagged; Google lists them among the common mistakes (Google: build and submit a sitemap).
- The dates. lastmod must be in the W3C date format, like 2026-11-15.
Before this, make sure your robots.txt lets crawlers in. After it, the fastest way to get a new site's pages discovered is other sites linking to them, and a directory listing is one of those.
Questions people ask
Does a new website need a sitemap?
A small site whose pages all link to each other can be found without one. Google says a sitemap helps most when a site is new and has few links pointing to it, which is every site in launch week.
How many URLs can one sitemap hold?
50,000 URLs or 50 MB uncompressed, whichever comes first. Past that, split it into several files and list them in a sitemap index.
Do lastmod dates matter?
Google uses lastmod when it is consistently accurate, and ignores it when every page claims to change every day. Set it to the date the page's content really changed.
Where do I tell search engines about my sitemap?
Add a line like "Sitemap: https://yoursite.com/sitemap.xml" to robots.txt, which every crawler reads, and submit it in Google Search Console and Bing Webmaster Tools.