This Script generates an Google Sitemap as described here: https://www.google.com/webmasters/sitemaps/docs/en/about.html Features: ========= - supports multilangual categories and products - supports Search-Engine Safe URLs (osC default) - could be accessed by http or command line - writes to file or standard output - autogenerates multiple sitemaps for sites with over 50.000 URLs - autogenerates multiple sitemaps if filesize exceeded 10MB - writes files compressed or uncompressed - auto-notify Google You can use the gzip feature or compress your Sitemap files using gzip. Please note that your uncompressed Sitemap file may not be larger than 10MB. No support for more the 50.000 URLs at the moment. See http://www.google.com/webmasters/sitemaps/docs/en/protocol.html#sitemapFileRequirements Usage: ====== The best option for most cases is shell: php google_sitemap.php -zap OR http://domain.com/google_sitemap.php?auto=true&gzip=true&ping=true This generates multiple (if necessary) compressed sitemaps in the catalog folder and a corresponding index file and notify Google about your new sitemap. The directory must be writable! Please be sure that you use the CLI (command line interface) SAPI for shell access. Otherwise you will run into trouble with the auto started session in application_top.php. See https://www.google.com/webmasters/sitemaps/docs/en/faq.html#s4 for details. --------------------------------------------------------------- other options: // output to standard output. use only for testing or if you want to use gzip shell: php google_sitemap.php php google_sitemap.php | gzip > sitemap.xml.gz OR http://domain.com/google_sitemap.php // output to file sitemap.xml shell: php google_sitemap.php -f sitemap.xml OR http://domain.com/google_sitemap.php?f=sitemap.xml // output to file sitemap.xml.gz shell: php google_sitemap.php -zf sitemap.xml.gz OR http://domain.com/google_sitemap.php?f?sitemap.xm&gzip=true // autogenerate sitemaps // useful for sites with > 50000 URLs // it generates multiple sitemaps with max 50000 URLs or uncompressed size max 10MB and an corresponding sitemap_index file shell: php google_sitemap.php -a OR http://domain.com/google_sitemap.php?auto=true // like autogenerate sitemaps but gzipped shell: php google_sitemap.php -za OR http://domain.com/google_sitemap.php?auto=true&gzip=true use option p to notify google about you sitemap