Magento 1: How to setup a sitemap in Magento

A sitemap is used to inform search engines about pages availabe for crawling. Magento provides a built-in function to generate a standards compliant sitemap in XML format containing the URLs for Category pages, Product pages and CMS pages.
While Magento refers to these sitemaps as "Google Sitemaps", they are actually supported by Yahoo! and Microsoft bing as well.
To add a new sitemap, you will first need to create a /sitemap directory in your web root directory with writable permissions so that you can generate and save to that location ( or similar). Then go to Catalog > Google Sitemap and add a new sitemap. 
To "refresh" your sitemap at regular intervals, go to System > Configuration > Catalog > Google Sitemap > Generation Settings. Set to yes and create in the early hours of the morning. 
To provide your sitemap to the search engines, you can link to it from your robots.txt file, which you should find in your web root directory (e.g. Use the following sitemap directive, substituting for your own domain of course:
You should also register your sitemap manually with the Google and Microsoft:
Bing Webmaster Tools:
  • 31 Users Found This Useful
Was this answer helpful?

Related Articles

How to upgrade Magento 1.3 to

The Magento 1.3 to upgrade is quite complex, as there are many changes to the database...

Magento 1: How do I make my Magento site temporarily unavailable (put into maintenance mode)?

There may be times when you need to perform an upgrade and don't want your website to be accessed...

Magento 1: How to disable compilation in Magento

In general, Create Hosting customers shouldn't need compilation enabled, since our Magento...

How to activate the Mobile HTML5 theme in Magento 1.7 (for Android, Blackberry, iPhone, iPod, Windows Mobile, etc)

Magento 1.7 comes with a new Mobile HTML5 theme out of the box. This should be compatible with...

Magento 1: How to fix broken or slow Sales Order Address editing via Magento Admin

We came upon an issue in a Magento 1.5* instance where any attempt to edit the customer address...