Loading
Get Started with B2C Commerce
SEO Extensions for B2C Commerce

SEO Extensions for B2C Commerce

Check out these sample extensions for SEO.

Home Page Link in Sitemap

The Salesforce B2C Commerce storefront generated map contains a link to the homepage of your store in the following format:

http://<alias>/on/demandware/Sites-<Sitename>-Site/default/Home-Show.

However, if you configure a domain alias for your site that 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/
Note
Note Configure sitemap settings individually for each instance type. You can't replicate sitemap site preferences between Staging and Production or Development. Create the settings and job to generate the sitemap on each instance.

Customize the Default URL Using the UpdatePageMeta Pipelet

This extension describes how to remove the product description from the end of the search-friendly URL, by creating a pipelet that is called before the UpdatePageMetaData pipelet that changes the inputs that are used for the UpdatePageMetaData pipelet.

This is a way to dynamically generate these values, without having to manually input them.

Cache Permanent Redirects

The redirectpermanent template isn’t cached in SiteGenesis. If you don't cache it, the requests coming in go to the application server, which isn't good for the domain. This extension includes an iscache in the template, so that the template caches.

Retrieve and Store Page Rankings

The simplest way to check that store page rankings is to type in your site name in the search engine you’re interested in and then count the sites from the top of the page.

 
Caricamento
Salesforce Help | Article