Upgrade from SEO Support to the URL Rules
If you implemented your site before Release 13.1, this topic contains the information you need to upgrade to the new module. In Release 13.1, Salesforce B2C Commerce added the URL Rules module, which enables you to customize storefront URLs to optimize search engine results. The SEO Support feature, which provided a limited version of the same functionality, was deprecated for 13.1 and is planned for removal at a future date. The SEO Support functionality is accessible under the URL Rules module, until the new URL Rules module is enabled using the site preference for Storefront URLs.
- URLs don't contain a page type indicator or a proprietary extension βsc.htmlβ
- URLs are short and meaningful
- URLs do not contain βdemandwareβ
Sandbox Configuration and Testing
To use the new URL Rules feature, you must enable it. The URL Rules module shows the SEO Support page until the URL Rules module is enabled. This is a one-way transition and no redirects are created if you decide to disable URL Rules and reenable the deprecated SEO Support feature. Salesforce strongly recommends that you test your new configuration on Sandboxes before enabling the feature on Staging or Production.
Staging Configuration and Testing
When you are confident that you can transition to the new URL Rules feature, enable it on your Staging instance and import your configuration from your Sandbox instance.
Auto-Redirect of Updated URLs
Old URLs refer to URLs configured prior to Release 13.1, whether they are search-friendly URLs configured through the SEO Support module or standard B2C Commerce URLs not optimized for external search engines.
New URLs refer to URLs configured using the URL Rules module. In Release 13.1, new URLs are disabled by default for existing sites and are enabled for sites created after the release.
Old URLs work when the URL Rules module is disabled, and are redirected when the URL Rules module is enabled.
Old URLs to new URLs
If the URL Rules are enabled, existing URLs are automatically redirected to the new site URLs via a 301 redirect.
Example 1: Pipeline URL
www.sitegenesis.com/on/demandware.store/Sites-SiteGenesis-Site/default/Account-Show
www.sitegenesis.com/account
Example 2: Category URL
www.sitegenesis.com/mens-clothing-shorts,default,sc.html www.sitegenesis.com/on./demandware.store/Sites-SiteGenesis-Site/default/Search-Show?cgid=mens-clothing-shorts
www.sitegenesis.com/mens-clothing-shorts
Example 3: Product URL
www.sitegenesis.com/on/demandware.store/Sites-SiteGenesis-Site/default/Product-Show?pid=83536828
www.sitegenesis.com/mens-clothing-shorts/straight-fit-shorts/83536828.html
New URLs to New URLs
- One of the URL rule parameters has changed
- The URL rule has changed
Example 1: Pipeline URL
www.sitegenesis.com/account
www.sitegenesis.com/my_account
Example 2: Category URL
www.sitegenesis.com/mens-clothing-shorts
www.sitegenesis.com/mens-shorts
Example 3: Product URL
www.sitegenesis.com/mens-clothing-shorts/straight-fit-shorts/83536828.html
www.sitegenesis.com/mens-shorts/straight-fit-shorts/83536828.html