Sitemap Generator

Looking for an easy way to generate Sitemaps? Google's new open-source Google Sitemap Generator (beta) finds new and modified URLs based on your webserver's traffic, its log files, or the files found on the server.

Google Sitemap Generator is a server plug-in that can be installed on both Linux/Apache and Microsoft IIS Windows-based servers. As with other server-side plug-ins, you will need to have administrative access to the server to install it. More information about the Google Sitemap Generator.

If you have access to your webserver and it has Python installed, you can use our script to create a Sitemap that uses the Sitemap protocol.

The Google Sitemap Generator is a Python script that creates a Sitemap for your site using the Sitemap Protocol. This script can create Sitemaps from URL lists, web server directories, or from access logs. In order to use this script:

  • You must be able to connect to and run scripts on your web server.
  • Your web server must have Python 2.2 or later installed.
  • You must know the command that launches Python. (Generally, this is python, but may vary by installation. For instance, if the web server has two versions of Python installed, the earlier version may be invoked by the command python and the later version may be invoked by the command python2.)
  • You must know the directory path to your site. If your web server hosts one site, this may be a path such as var/www/html. If you have a virtual server that hosts multiple sites, this may be a path such as home/virtual/site1/fst/var/www/html.
  • You must be able to upload files to your web server (for instance, using FTP).
  • If you will be generating a list of URLs based on access logs, you must know the encoding used for those logs and the complete path to them.
Read more about the Sitemap Generator.

The Sitemap Generator can be used to generate regular XML Sitemaps. However, some specialized kinds of Sitemaps, such as Code Search and Video Sitemaps, have very specific and unique requirements. Therefore, we don't recommend using the Sitemap Generator to create these Sitemaps.