How to Validate an XML Sitemap Before Google Reads It
A sitemap is a promise to search engines: here are the pages worth crawling. When the file is broken, the promise is worthless, and Search Console often reports it with a vague line such as Couldn't fetch or Has errors. The XML Sitemap Validator reads the file the way a parser does, checks every entry against the sitemaps.org protocol and Google's rules, and then tests whether the listed URLs actually answer with 200. This guide walks through what it checks, a worked example, and the fixes for the errors people hit most.