Override Generated SEO URLs
If the URL Rules module enabled, you can use the Page URL attribute to override the URL that is generated from the configuration in the URL Rules module. You can apply character replacement for URLs created with this override.
Note: This topic assumes that you have enabled the URL Rules module and
are not using the deprecated SEO Support module. There is no way to override generated URLs in
the SEO Support module, though you can include the Page URL attribute in your rule syntax to
allow for customizable endpoints.
To configure Salesforce B2C Commerce to use the Page URL attribute to override generated URLs:
- Select .
- Click the Catalog URLs or Content URLs tab, depending on the type of URL you want to configure.
- Under the correct URL rule section, check Enable override with 'pageURL' attribute (if set).
- Import the appropriate values for the page URL attribute or navigate to the product in Business Manager and add a value to the Page URL field.
- Wait for the SEO URLs to regenerate. You can monitor the status of the generation job on the URL Rules page General tab.
While you are developing a strategy for your URLs, it is recommended
to manually create Page URL
attribute values to test them. Instead of using
an input feed, you can manually enter these in Business Manager.
To Create Category URLs Manually:
- Select .
- Click Catalogs. A list of catalogs appears.
- Click Edit for the catalog that you want to create URLs for.
- Click the Category Attributes tab
and enter a value for each of the
Search Engine Optimization Support
attributes. - Click Apply to apply the change.
To Create Product URLs Manually:
- Select .
- Enter information to search for a product. You can search using wildcards or a specific product ID.
- Click a product in the search results to select it.
- Click the Attributes tab and enter a
value for each of the
Search Engine Optimization Support
attributes. - Click Apply to apply the change.
To Create Content URLs Manually:
- Select .
- Click Library Folder and navigate until you can click the content ID or Name to select the page.
- On the General tab and enter a value
for each of the
Search Engine Optimization Support
attributes. - Click Apply to apply the change.