Loading
Get Started with B2C Commerce
SiteMap Pipeline and SendGoogleSiteMap Pipelet

SiteMap Pipeline and SendGoogleSiteMap Pipelet

The B2C Commerce Reference Application contains the pipeline SiteMap, which uses the pipelet SendGoogleSiteMap. This exposes the sitemap_index.xml file to any crawler that requests it.

For example, when Google requests the sitemap, based on where you indicated its location when you registered it, the pipeline intercepts the request and returns the sitemap you’ve placed in the correct place in your cartridge.

For example, if you’ve registered your sitemap at

http://localhost/on/demandware.store/Sites-YourShopHere-Site/default/SiteMap-Google

Or

http://localhost/sitemap_index.html

Then the pipeline intercepts requests to these URLs and returns the sitemap in the output stream.

The SiteMap pipeline is contained in the storefront cartridge. Include this pipeline in your application to similarly expose your sitemap_index.xml file to search engines.

To set your current domain, click App Launcher App Launcher, and then select Merchant Tools | Site | SEO & Discoverability | Aliases to use the SendGoogleSiteMap pipelet.

 
Caricamento
Salesforce Help | Article