Sitemaps are XML files that provide search engines, such as Google, Yahoo, and MSN, with information about a web site so crawler can index it more efficiently. Sitemaps contain a list of all the URLs available for indexing and can provide the search engine with additional information, such as when a page was last updated, frequency of updates, and the relevance of a page. Search engines use this information to construct links to your site and control the ranking of links within its search results.
The main advantages of using sitemaps are as follows:
Google is an example of a search engine and SiteGenesis is an example of a site. Because Google has almost half the market share of all search engines, a concentrated effort to optimize the traffic driven from Google makes good business sense. However, because most search engines use the sitemap.org protocol to define their sitemaps, the sitemaps that you generate for Google can also be registered and used with other search engines, such as Yahoo or MSN.
See Sitemap Topology.
B2C Commerce generates a sitemap that's compatible with the Sitemap Protocol 0.9 from Sitemaps.Org. This is the standard sitemap definition for Google.
The B2C Commerce storefront-generated map contains a link to the homepage of your store in this format:
http://<alias>/on/demandware/Sites-<Sitename>-Site/default/Home-Show.
However, if you configure a domain alias for your site which resolves to your home page, using a rule similar to:
"www.mysite.com" : [
{"pipeline":"Home-Show"}
],
Then the generated sitemap contains a link similar to:
http://www.mysite.com/
If you have multiple sites, you might need multiple sitemaps. If your sites share the same product catalog, even if they have different locales, they do not need separate sitemaps.
However, if your sites don't share the same product catalog, they need different sitemaps. These sitemaps must be registered and generated separately.