Manual:GenerateSitemap.php/Google

The following is what I use to generate a sitemap which works with Google. It is the original generateSitemap.php adjusted as advised on Manual talk:GenerateSitemap.php.

Enter this into the command line of your shell: php generateSitemap.php --compress=no --server=http://www.nameofyourdomain.com Starting with July 2011 Google sometimes has a problem with the gzipped files. Utilize --compress=no to avoid this problem.