Creating Google Sitemaps for Magento sites

Last modified by Magnus Wester on Thu, June 24, 2010 16:26
Source|Old Revisions  

This is an old revision of the document!


Introduction

Sitemaps are an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. In its simplest form, a Sitemap is a plain text file that lists URLs for a website. A Sitemap can also be provided in an XML format that includes additional metadata about each URL so that search engines can more intelligently crawl the site.

All major search engines use the same format for their sitemaps. Magento refers to them as “Google Sitemaps” but they are actually supported by the Yahoo! and Microsoft search engines as well, and probably other search engines, too. The common sitemap format is documented at http://www.sitemaps.org/.

Creating sitemaps in Magento

Magento can create Google sitemaps automatically. Sitemaps are defined in Admin > Catalog > Google Sitemap. Magento sitemaps contain the URLs for Category pages, Product pages and CMS pages.

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

 http://www.yourdomain.com/magento/admin/sitemap/generate/sitemap_id/1

To register a sitemap with the search engines, use the links below:

Refreshing sitemaps at regular intervals

Magento can be set up to automatically refresh Google Sitemaps at regular intervals. This function is configured in Admin > System > Configuration > Google Sitemap.

To use Magento’s automatic generation of Google Sitemaps, you must activate the Magento Cron service.




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs