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 (http://www.example.co.nz/sitemap/sitemap.xml 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. http://www.example.co.nz/robots.txt). Use the following sitemap directive, substituting example.co.nz for your own domain of course:
 
Sitemap: http://www.example.co.nz/sitemap/sitemap.xml
 
You should also register your sitemap manually with the Google and Microsoft:
 
Bing Webmaster Tools: http://www.bing.com/webmaster/
  • 29 Users Found This Useful
Was this answer helpful?

Related Articles

How to upgrade Magento 1.3 to 1.4.1.1

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

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...

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...

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

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