Create Pipeline URLs

Create up to 500 alias for URLs generated by a B2C Commerce pipeline.

Use the "/" character to create pipeline aliases with multiple path elements, such as customer/account or consumers/cart. In the New Alias field, enter for example, consumers/cart for the Cart-Show pipeline, which results in …/us/consumers/cart if this pipeline is called and the locale mapping for the chosen locale is us.

You can't use reserved keywords for pipeline aliases.

Note
Note Reserved keywords include: dw, _dw, h, _h, n, _n, and s.

B2C Commerce reserves s for site-path mapping. Don't use s as a pipeline alias or as the first path element in a URL, such as www.my-host.com/s/brand/blue.

See Configuring SEO URLs.

URLs created for the Search-Show pipeline without a category ID and search refinements are supported for search refinement URLs, for example search/abrand/blue. This functionality is also available for the Search-ShowContent pipeline, for example searchcontent/history.

Exclude the pipeline alias Search-Show (or Search-ShowContent) from the URL path when no category (or folder) ID is available. This enables you to create URLs such as www.my-host.com/brand/black|blue/ instead of www.my-host.com/search/brand/black|blue/.

See Using the SEO URLs Settings Tab.

  1. Click App Launcher App Launcher, and then select Merchant Tools | Site | SEO & Discoverability | URL Rules.
    If you see the Search Support Preferences page instead of the URL Rules page General tab, select Merchant Tools | Site | Site Preferences | Storefront URLs, to enable the URL Rules module.
  2. Click the Pipeline URLs tab.
  3. Enable Append Trailing Slash to Pipeline URLs if you want the trailing slash to appear when an alias is provided with a slash.
    Configure this whether an automatic redirect occurs or not. The trailing slash and automatic redirect is disabled by default.
  4. Enable Perform automatic redirect if you want to automatically redirect requests to the desired trailing slash configuration.
  5. On Pipeline URLs tab, select a locale from the Locale list.

    The list shows all of the locales configured in Administration | Global Preferences | Locales. Make sure that if you create aliases for a locale, that these aliases are also selected for the site in Merchant Tools | Site | Site Preferences | Locales.

    When you have selected a locale, all of the aliases you create are used for that locale. See SEO URLs Settings Tab.

    If an incoming URL includes a locale that Salesforce B2C Commerce can't identify, such as de_DE, then Salesforce B2C Commerce uses the locale de if it exists, and the default locale if it does not. Any pipeline aliases created prior to Release 14.8 are treated as aliases for the default locale.

  6. Enter the pipeline-subpipeline or the pipeline alias that you want to create in the Alias or Pipeline fields, to make sure the alias that you want to create doesn't exist.
  7. Enter a term to represent the pipeline in the URL into the New Alias field. For example, if you want the URL hostnamealias/s/sitename/Home-Show to appear as hostnamealias/s/sitename/home, enter home.
  8. Enter the pipeline-subpipeline that you want to create an alias for into the resolves to field. For example, Home-Show.
  9. Click Apply.