Loading
Get Started with B2C Commerce
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          URL Rules for SEO

          URL Rules for SEO

          You can increase site traffic by optimizing your site URLs for external search engines, such as Google or Yahoo. If you’re creating a site, URL Rules are automatically enabled and can be configured if you have permissions to the URL Rules module. Salesforce recommends configuring and testing URL Rules on a Sandbox before exporting them to Staging and replicating them to Production. This topic applies to B2C Commerce.

          Note
          Note You can use the deprecated SEO support by disabling the URL rules, though Salesforce recommends that you use the URL Rules module. The URL Rules module and the (deprecated) SEO Support module can't be enabled at the same time.

          The maximum length of a storefront URL is 1800 characters. URLs that exceed this length are shortened, but are still valid and unique. In particular, product and content URLs still contain the product or content ID.

          The maximum length of a URI plus query parameters request is 2002 characters. If the request exceeds this limit, the page returns a 404 error.

          Several settings apply across all URL types. These include localization, capitalization, and space encoding in URLs.

          Optimize your site URLs in the following ways:

          • URLs shouldn't contain a page type indicator or a proprietary extension “sc.html”
          • URLs should be short and meaningful
          • URLs shouldn't contain demandware

          Configuration in Business Manager

          When you have enabled SEO URLs, you can configure them by selecting Merchant Tools | Site | SEO & Discoverability | URL Rules for:

          You must also resolve conflicts and configure general settings, and you can review the archive.

          Permissions

          The URL Rules module has a modular permission that must be set for the module to be visible in Business Manager. See Configuring Storefront URL Preferences.

          Import and Export

          URL rules are imported and exported as part of the Site import/export module Site URLs item. If you want to export the rules from the SEO Support module, these are still exported from the Site import/export module site preferences item.

          The URL file must be exported as part of the existing Site URLs unit.

          Replication

          You can replicate the URL rules using the following replication tasks:

          Configuration Replication Task
          Category URLs Site > Category URLs
          Folder URLs Site > Folder URLs
          Pipeline URLs Site > Pipeline URLs
          URL rules Site > Site URL Rules (or part of existing URL replication group)
           
          Loading
          Salesforce Help | Article