How Salesforce B2C Commerce Assigns Page URLs
B2C Commerce provides several layers of inheritance URL attribute values that can be set through page-specific values, category values, or default values. URLs are assigned if the URL Rules module is enabled.
For information on how B2C Commerce assigns URLs if the deprecated SEO Support module is enabled, see How B2C Commerce Assigns SEO Support Page URLs.
Product URLs
The order of precedence for a product item URL is:
- The product's Page URL attribute. This is referred to elsewhere as the page-specific URL.
- Then the classification category's Page URL attribute.
- Then the primary category's Page URL attribute.
- If there are no values supplied for the product's primary or classification category Page URL attribute, the settings configured in the URL Rules Page Catalog URLs tab are used. For more information about global default URLs, see Configuring SEO URLs.
Content URLs
The order of precedence for a content item is
- The content item's Page URL attribute. This is referred to elsewhere as the page-specific URL.
- The default settings configured in the URL Rules Page Content URLs tab are used. For more information about global default URLs, see Configuring SEO URLs.