Sitecore Commerce uses own Commerce Link Manager
for Commerce links.
<add name="commerce" includeFriendlyName="true" useShopLinks="true" includeCatalog="false" addAspxExtension="false" alwaysIncludeServerUrl="false" encodeNames="true" languageEmbedding="never" languageLocation="filePath" lowercaseUrls="false" shortenUrls="true" useDisplayName="false" type="Sitecore.Commerce.XA.Foundation.Catalog.Pipelines.CatalogLinkProvider, Sitecore.Commerce.XA.Foundation.Catalog" />
You can play around with parameters and choose more friendly URLs configuration.
An important note about the provider configuration properties is that
only 3 properties actually affect the generated URLs –
includeFriendlyName, useShopLinks, and encodeNames.
Configuration Properties:
- includeFriendlyName: Includes the DisplayName of the category or
product in the URL segment. i.e. {category DisplayName}={category
FriendlyId} and {product DisplayName}={ProductId/FriendlyId}.
- useShopLinks: Constructs URL with shop/{category}/{product} if
enabled, otherwise as category/{category} and product/{product} for
category and product URLs respectively.
- includeCatalog: Not currently supported
- addAspxExtension: N/A
- alwaysIncludeServerUrl: N/A
- encodeNames: Encodes the DisplayName portion of the category and
product segments. Only supported when useShopLinks is true.
- languageEmbedding: N/A
- languageLocation: N/A
- lowercaseUrls: Not currently supported
- shortenUrls: Not currently supported
- useDisplayName: Not currently supported
For more details, I recommend Andrew Sutherland's blog post:
http://andrewsutherland.azurewebsites.net/2018/12/17/configuring-and-customising-seo-friendly-urls-in-sitecore-commerce-sxa-storefront/