Your sitemap does not parse, or lists pages that do not load
A sitemap a crawler cannot read, or one with errors that send it to dead ends and redirects. What the report opened, and how to repair the list.
Four things the report can say about a sitemap it found:
- “The sitemap does not parse.” The file is there, but it is not valid XML, so a crawler that cannot parse it ignores all of it. A single stray space before the first tag can make the whole file unreadable, and so can a warning message a plugin printed above it.
- “Some pages your sitemap lists are missing.” Addresses in the list answered 404 or 410. A crawler that follows the list finds dead ends.
- “Some pages your sitemap lists do not load.” Addresses answered with an error or a redirect the check could not follow.
- “Some sitemap entries redirect somewhere else.” The sitemap still gives an old address, and the page has moved. Every visit costs the crawler an extra request per page.
For 2 to 4, the check opened a few entries, not every one.
Why it matters
A sitemap is the list you hand crawlers of pages you want found. Google asks for “fully-qualified, absolute URLs” in it, and the report adds the obvious next step: each address should be the page’s final one, and it should load. A list with dead ends and detours gets trusted less, and a list that does not parse is no list at all.
Where to fix it
Open the sitemap in a browser. A browser shows an XML error at the line where the file breaks, which is faster than any validator.
Shopify. Shopify generates the sitemap itself, so you do not edit the file. A missing or redirecting entry there most likely means a product, page or collection was removed or renamed; Shopify’s sitemap lists “products, primary product image, pages, collections, and blog posts”, so fix the item, and the list follows.
WooCommerce and WordPress. WordPress’s own sitemap and SEO plugins build the list from your posts and pages. Regenerate it in the plugin that owns it. For a file that does not parse, look for a plugin or theme printing text before the XML, often a PHP warning.
Any other site. Remove dead addresses, swap each redirecting address for its final one, and rebuild the file so nothing comes before <?xml.
Who makes the change
Whoever edits your site.
A note for your developer
A ClearReadout check of [page address] found problems with the sitemap at [https://example.com/sitemap.xml]:
[does not parse / some listed pages are missing / some do not load / some redirect].
Could you regenerate the sitemap so it parses, lists only pages that load, and gives each page at its final address?
If something prints before <?xml (a warning, a space), please remove it.
Check again
Run Check again from your report once the list is fixed. Or check your page.