Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My client's SEO guy said that search engines prefer gzipped sitemaps. They keep their sitemap in .xml.gz file.

I was wondering if there is any difference for search engines between a gzipped "on-the-fly" sitemap (i.e. by Apache or Nginx) and a "manually" gzipped file.

share|improve this question
up vote 2 down vote accepted

There is no difference between the two ways you describe of gzipping a sitemap.xml for search engines.

The important thing is to just make sure your sitemap.xml is gzipped, to save bandwidth for website servers and search engines, even more if your sitemap.xml file size is big.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.