Topic on Project:Support desk

Submitting sitemap to Google

3
Summary by Biologically

Sitemap files - .xml and .gz

Biologically (talkcontribs)

I am using the generateSitemap.php for creating the sitemaps for my public wiki. I have also set a cron jobs to created the sitemap regularly in automation. In the cron jobs I used the command --compress=yes which compresses the sitemap files to .gz format. So, my sitemap directory contains one .xml file and several other .gz files.

My question is should I submit all the files (including the .xml file and all the .gz files) to Google during the sitemap submit process? Or should I submit only the .xml file during the process?

Thank you everyone.

Wargo (talkcontribs)

The one is the index. Google will automatically follow rest files if you submit index (if all files are accessible).

Biologically (talkcontribs)

Thank you so much. So, I need to submit only the .xml file to Google, right? The .gz files will automatically get analyzed by Google after this - if I got it right.