Skip to content
warningsitemap-invalid

Sitemap can't be read

A sitemap listed in robots.txt or found at /sitemap.xml returned an error, isn't valid XML, or couldn't be decompressed.

What it means

The crawler tried to read a sitemap and failed. The detail shows why: an HTTP error, invalid XML, or a broken .gz file.

Why it matters

Search engines hit the same error, so none of the URLs in that sitemap reach them through it.

How to fix

  • Open the sitemap URL in a browser and check it returns 200 with XML.
  • Validate the XML; a stray character before <?xml (often whitespace from a theme or plugin) breaks it.
  • Remove sitemaps from robots.txt that no longer exist.

More indexability checks