---
schema_version: "1"
id: ca59a465b2b76563a4bd326fd7a9611f656732cb12b3f2ab6209d9d19984185d
title: Configure Storefront URL Preferences
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_configuring_storefront_url_preferences.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_configuring_storefront_url_preferences.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c1f32e7d61a727f3ecbc32fca5f68466f7c1b6578565ab953bfd250f67c870e1
description: Enable your SEO URL rules for a B2C Commerce site.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Configure Storefront URL Preferences

Enable your SEO URL rules for a B2C Commerce site.

1. In Business Manager, click App Launcher ![App Launcher](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/appLauncher.png), and then select **Merchant Tools** | **site** | **Site Preferences** | **Storefront URLs**.
2. Select **Enable Storefront URLs**.
3. Select **Copy Source URL Parameters**.
    
    This setting applies to URL redirect objects with the Copy Source URL Parameter value `Default`.
4. Select **Enforce HTTPS**.
    
    This setting forces URL generation to use HTTPS protocol only. Incoming requests using HTTP are automatically redirected to HTTPS. If the global preference Enforce HTTPS setting is enabled, you can't modify this setting for a site.
5. Click **Apply**.
6. After you’ve configured and tested your storefront URLs, investigate whether you want to change the following: <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <tbody><tr class="">
            <td style="vertical-align:top;" headers="d19856e110-option" id="d19856e114">Code</td>

            <td style="vertical-align:top;" headers="d19856e110-desc d19856e114">
              <p>If you use standard SEO, no code changes are necessary to take advantage of
                this feature. If you have custom code or other integrations for SEO, you can
                alter your custom code to work with the feature.</p>
            </td>

          </tr>
          <tr class="">
            <td style="vertical-align:top;" headers="d19856e110-option" id="d19856e126">Canonical links</td>

            <td style="vertical-align:top;" headers="d19856e110-desc d19856e126">B2C Commerce best practice is to create canonical links for categories
              using the <code>URLUtils</code> method. If you used the
              <code>URLUtils</code> method, no changes to code are necessary. However,
              if you have hard-coded canonical links in your templates, update them to use
              your new URLs.
            </td>

          </tr>
          <tr class="">
            <td style="vertical-align:top;" headers="d19856e110-option" id="d19856e141">Content links</td>

            <td style="vertical-align:top;" headers="d19856e110-desc d19856e141">To make sure that links don't require updates for the new URLs, check
              links in your content assets. If you’re using the content link functions, no
              updates are needed. However, if you have included hard-coded links in your
              content assets, update these links.</td>

          </tr>
          <tr class="">
            <td style="vertical-align:top;" headers="d19856e110-option" id="d19856e150">URL redirects</td>

            <td style="vertical-align:top;" headers="d19856e110-desc d19856e150">Check your URL redirects to make sure they don't require adjustment for
              your new URLs. If the redirects are outdated or conflict with your new URLs,
              update them.</td>

          </tr>
          <tr class="">
            <td style="vertical-align:top;" headers="d19856e110-option" id="d19856e159">Static mappings and mapping rules</td>

            <td style="vertical-align:top;" headers="d19856e110-desc d19856e159">
              <p>To make sure that your redirects don't require adjustment for your new URLs,
                check your URL mappings.</p>
              <div>
                <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
                  <div class="slds-media slds-media_responsive">
                    <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_note.png" alt="Note"></span></div>
                    <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;"><span class="slds-text-title_caps">Note</span> If your old URLs now match the new storefront URLs, a redirect is no
                      longer necessary.</div>
                  </div>
                </div>
              </div>
            </td>

          </tr>
          <tr class="">
            <td style="vertical-align:top;" headers="d19856e110-option" id="d19856e178">Product ID search</td>

            <td style="vertical-align:top;" headers="d19856e110-desc d19856e178">Make sure that the product ID search works as you expect if customers
              enter the product ID as it appears in the URL.</td>

          </tr>
          <tr class="">
            <td style="vertical-align:top;" headers="d19856e110-option" id="d19856e187">Sitemap</td>

            <td style="vertical-align:top;" headers="d19856e110-desc d19856e187">Create a sitemap that includes the SEO URLs.</td>

          </tr>
        </tbody></table>
7. To view SEO URLs:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><tbody><tr class=""><td style="vertical-align:top;" headers="d19856e201-option" id="d19856e205">In Business Manager</td><td style="vertical-align:top;" headers="d19856e201-desc d19856e205">After you configure SEO URLs, validate the URL Rule and B2C Commerce runs a job in the background to generate the URLs. See potential URL conflicts on the URL Rules page General tab.</td></tr><tr class=""><td style="vertical-align:top;" headers="d19856e201-option" id="d19856e214">In the browser</td><td style="vertical-align:top;" headers="d19856e201-desc d19856e214">When the URLs are generated, you can view them in your browser. In your storefront, hover over a category link to see the URL in the status bar. If you click the link, you can see the URL at the top of the browser.</td></tr></tbody></table>