Category: SEO and Google Search

Sitemap.xml.gz: Google Cannot Decompress the Sitemap

Read this guide in Polish

The browser downloads the file, but the search engine reports a format error.

How to identify the source of the problem

Check that the response has the correct gzip and that you receive the correct XML after unpacking.

Check the HTML server, HTTP status, canonical and robots for the final production address.

Repair steps

Improve compression generation and server headers, avoiding double gzip by CDN.

How to Test Solution

The file can be unpacked and validated, and all locs are valid URLs.

Security and restrictions

The indexation and position in the search engine are not guaranteed. Do not create secondary copies of the page or artificial test results.