URL Generation and Conflict Resolution

Salesforce B2C Commerce maintains a directory of pipeline, category, folder, and search refinement URLs in B2C Commerce database. Product and content URLs are not contained in this directory, because they are built dynamically. The URL directory contains a URL endpoint for any pipeline alias, category in the site catalog, and folder in the site library for each site locale.

The URL generation process ensures unique URLs within pipelines, categories, and folders for a locale:

The following example shows Pipeline URLs.

URL Endpoint Locale Type Object ID
account default Pipeline Account-Show
search default Pipeline Search-Show

The following example shows category URLs.

URL Endpoint Locale Type Object ID
mens en_US Category cat123
herren de_DE Category cat123
mens-clothing-shorts en_US Category cat456
herren-kleidung-kurzehosen de_DE Category cat456

The following example shows folder URLs.

URL Endpoint Locale Type Object ID
about en_US Folder folder_about
about de_DE Folder folder_about

Pipeline, category, and folder URLs are generated using a system job on B2C Commerce. The job regenerates the URLs when any of the following changes are made:

Any of these changes cause a complete regeneration of all pipeline, category, and folder URLs. The URL generation job runs on Staging and Sandboxes only. The job doesn't run on Production. Instead, URLs are replicated to Production along with catalogs and libraries. The job takes about 3 minutes for 50,000 categories/folders.

Product URLs are not generated using this job. Only the product/content ID appended to each URL is used to identify the product, and only if the URL has the ending '.html'.

Search Refinement URLs

When you add search refinement information to the URL path, conflicts can occur with refinement values after URL cleansing (for example, character replacement). B2C Commerce resolves these conflicts by making them unique (similar to Category and Folder mappings: adding an index delimited with the configured delimiter).

The conflicts area for search refinement URLs shows global conflicts within the current search refinement URL values for the following cases:

Related Links

Configuring SEO URLs

Using the SEO URL General Tab