Defining Google Sitemaps

Last modified by Magnus Wester on Mon, October 20, 2008 04:38
Source|Old Revisions  

This is an old revision of the document!


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.


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.


Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs