You are here:
Upgrade from SEO Support to 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, 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.
The URL Rules module helps you optimize your site URLs in the following ways:
- URLs don't contain a page type indicator or a proprietary extension “sc.html”
- URLs are short and meaningful
- URLs do not contain “demandware“
Test URL Rules in a Sandbox
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. Test your new configuration on Sandboxes before enabling the feature on Staging or Production.
Configure URL Rules
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
Existing URL:
www.sitegenesis.com/on/demandware.store/Sites-SiteGenesis-Site/default/Account-ShowRedirected URL:
www.sitegenesis.com/accountExample 2: Category URL
Existing 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-shortsRedirected URL:
www.sitegenesis.com/mens-clothing-shorts Example 3: Product URL
Existing URL:
www.sitegenesis.com/on/demandware.store/Sites-SiteGenesis-Site/default/Product-Show?pid=83536828Redirected URL:
www.sitegenesis.com/mens-clothing-shorts/straight-fit-shorts/83536828.htmlNew URLs to New URLs
New URLs can change for the following reasons:B2C Commerce still accepts the old version of the object URL, and redirects to the new URL of the object.
- One of the URL rule parameters has changed
- The URL rule has changed
Example 1: Pipeline URL
Existing URL:
www.sitegenesis.com/account Redirected URL:
www.sitegenesis.com/my_account Example 2: Category URL
Existing URL:
www.sitegenesis.com/mens-clothing-shorts Redirected URL:
www.sitegenesis.com/mens-shorts Example 3: Product URL
Existing URL:
www.sitegenesis.com/mens-clothing-shorts/straight-fit-shorts/83536828.html Redirected URL:
www.sitegenesis.com/mens-shorts/straight-fit-shorts/83536828.html

