---
schema_version: "1"
id: d7594248030fe0de1606b5342ccf5958b4ee873238f8cadd06a2f6ff0c89a898
title: SEO Considerations for Store URLs
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_seo_considerations.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_seo_considerations.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f778fd4746966418f37171fd10ed48fc620c615f5f626841fe15bdf518e8f8b9
description: You can improve SEO performance by optimizing URL configuration in your B2B store.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# SEO Considerations for Store URLs

You can improve SEO performance by optimizing URL configuration in your B2B store.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

## Canonical URLs

Choose a canonical URL to consolidate a single page that can be reached through multiple URLs or different pages with similar content. Improve SEO and direct search bots to the most representative page from a set of duplicate pages on your site. Without canonical URLs, search engines consider all of your identical or similar URLs as unique pages, which can cause SEO issues.

- Search engines can miss your unique content.
- Too much duplicate content can dilute content ranking.
- Ranked content doesn’t reflect the best URL.

## Shopper-Friendly URLs

Product and Category pages generate shopper-friendly URLs based on the title of the product or category appended to a base path and object ID. The base path is configurable in the URL structure, but the category path or product record name and the record ID are required. For example, a category page has the URL `/category/:categoryPath/:recordId`. From Experience Builder, in Page Properties, you can edit the `/category/` portion of this base URL.

![Page Properties panel in Experience Builder showing the URL for a Product page.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/comm/images/seo_change_base_url.png)

## URL Slugs

Create SEO-friendly URL snippets, or “slugs,” for each Product and Category page. A URL slug improves SEO value by replacing a record ID with relevant and human-readable information in URLs, ensuring that your store’s pages are optimally surfaced in search engines. URL slugs are available in B2B Commerce LWR sites.

URL slugs map to the full path `store.com/product/{custom-slug}` for products and `store.com/category/{custom-slug}` for categories. From Experience Builder, in Page Properties, you can edit the `/product/` and `/category/` URL snippets, but you can’t remove them. For example, a Product page can have the URL slug `french-roast`, resulting in the full URL `store.com/product/french-roast`.

Auto-generated, canonical URLs for Product and Category pages use record IDs. Customers won't see a slug-based URL unless they directly input a link that includes the URL slug.

When adding a URL slug, keep these considerations in mind.

- To use URL slugs, enable translation workbench and add active languages for translation. For more information, see [Translation Workbench](https://help.salesforce.com/s/articleView?id=platform.workbench.htm&type=5&language=en_US).
- URL slugs have a character limit of 150 and allow these characters: `a-z A-Z 0-9 . - _ $ & : ; * , = @`. Foreign language characters are also allowed.
- In a Category URL slug, you can use `/` to delimit path segments. For example, the URL slug `coffee/whole-bean` creates the path `store.com/category/coffee/whole-bean`. This use of `/` isn’t accepted in a Product page URL slug.
- Use of the term Product2 isn’t allowed in a URL slug. This URL is reserved for use in your site.
- When choosing a language for a URL slug, select a language that’s active in your org, site, and store. For more information, see [Supported Languages](https://help.salesforce.com/articleView?id=xcloud.faq_getstart_what_languages_does.htm&type=5&language=en_US).
- Create a URL slug in your store’s default language and translate it for each language you support. When a customer is browsing in a language without a URL slug translation, but the page has a URL slug for your store’s default language, the slug falls back to the default. For example, if your default site language is English and a customer is browsing in French, both `store.com/fr/product/{slug-french}` and `store.com/fr/product/{slug-english}` will redirect to the corresponding record ID URL.
- When URL slugs are enabled and configured for product and category pages, they’re used as the canonical URL in sitemaps created for LWR stores. Otherwise, the sitemap continues using the record ID URL.

## Redirects

If you’re migrating a site to B2B, consider redirecting users to your new store’s pages from pages outside of Salesforce. You can also set up redirects for pages within your B2B store to guide users from outdated product or category URLs to live pages.

#### See Also

- [Redirect Users to Your Experience Builder Site Pages](https://help.salesforce.com/articleView?id=networks_url_redirects.htm&language=en_US)
- [SEO Page Properties](https://help.salesforce.com/articleView?id=networks_seo_tags.htm&language=en_US)
- [Make Objects Available for SEO](https://help.salesforce.com/s/articleView?id=experience.networks_seo_object_access.htm&language=en_US)
- [Secure Guest Users’ Sharing Settings and Record Access](https://help.salesforce.com/s/articleView?id=platform.networks_secure_guest_user_sharing.htm&language=en_US)
- [Default Object CRUD Permissions for B2B and D2C Commerce](https://help.salesforce.com/s/articleView?id=commerce.comm_CRUD_perms.htm&language=en_US)