Defining Google Sitemaps

Last modified by maxou on Fri, August 3, 2012 08:52
Source|Old Revisions  


Before you define your first Google Sitemap with Magento, you may want to read more about creating Google Sitemaps for Magento sites.

To create a Google Sitemap for a Magento site, go to Admin > Catalog > Google Sitemap and click on Add Sitemap.

In the Filename field, specify the name of the XML-format sitemap file you want Magento to create for the selected store view. It is usually convenient to include the store view ID in the filename, e.g.


Doesn’t work Tested in magento CE the name of the file is not customizable it can only be sitemap.xml but if you whant different sitemap... for different views or site you can customize the path

The Path identifies the directory on the web server where you want the sitemap to be stored. The base path is main Magento directory for this installation (e.g. /magento/).


If you want the sitemap file to be written to a subdirectory of the main Magento folder (e.g. /magento/sitemap/), enter the subdirectory name and a trailing forward slash:


The directory you specify must be writeable by the sitemap generation process.

Select the Store View for which you want to create a sitemap.

Click Save Sitemap to save the sitemap definition.

Creating the sitemap file

Once you’ve defined a sitemap, you can manually generate it by replacing the “1” at the end of the below link with the actual sitemap id:

Verify that the Last Time Generated column for your new sitemap now contains the current date and time.

Note: If you use separate server accounts for each store in a multi-store setup, you may have to copy the sitemap file into the directory structure of each account to give the search engines appropriate access to it. For a more advanced solution to this problem, read more about multiple website setup with different document roots.