Gzip Compressed XML Sitemaps: sitemap.xml vs sitemap.xml.gz

Compressed XML Sitemaps use Gzip compression and are supported by search engines like Google. The gz file extension usually means the file uses compression.
Help: overview | previous | next

 To see all the options available, you will have to switch off easy mode 

 With options that use a dropdown list, any [+] or [-] button next to adds or removes items in the list itself 

Understanding Compressed XML Sitemaps

Compressed XML sitemaps are supported by all major search engines. The benefit of compressed sitemaps is that they save bandwidth for website servers and search engines. That is why some sitemap tools such as including A1 Sitemap Generator support generating sitemaps using Gzip compression. Usually such sitemap files end with file extesion .gz or .xml.gz.

In A1 Sitemap Generator, your can enable compression when building XML sitemaps by checking option: Create sitemap | XML sitemap options |Apply Gzip to a copy of generated sitemap file(s)

Solving Problems with Compressed XML Sitemaps

If you try to download your own sitemap files, e.g. example.xml.gz, most web browsers will correctly prompt you to download the compressed sitemap file.

However, if your webserver is not sending correct MIME headers for .gz files, some browsers may instead try open the sitemap file. This will fail as the internet browser has not correctly recognized the file format.

Under all circumstances, if you submit your XML sitemap to search engines like Google, chances are they will be able to correctly download and process your XML sitemaps no matter if they are compressed or not. If you get error messages, you can always return to using normal uncompressed XML sitemaps.
This help page is maintained by

As one of the lead developers, his hands have touched most of the code in the software from Microsys.

If you email any questions, chances are that he will be the one answering them.
A1 Sitemap GeneratorAbout A1 Sitemap Generator

Build all kinds of sitemaps including text, visual HTML / CSS, RSS, XML, image, video, news and mobile for all your websites no matter the platform they use.
Share this page with friends   LinkedIn   Twitter   Facebook   Pinterest   Google+   YouTube  
 © Copyright 1997-2018 Microsys

 Usage of this website constitutes an accept of our legal, privacy and cookies information.