---
schema_version: "1"
id: 53c81bcc5c2ab0dd402e69306df4865f820a8b71fc01cc30dad36ef79e9eb880
title: Search Redirects
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_managing_search_redirects.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_managing_search_redirects.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b2e298f532be24a62ebf0b4a0b42db699d1989d51feb09d275b0d9de3a938604
description: Use the B2C Commerce guided search redirect feature to direct a customer to a particular page, URL, or pipeline when they enter a search term. When the customer searches on a term, for example, the redirect returns a specific page, instead of returning product search results for the entered search keyword. With search redirects, you have more control over what customers see, enhancing their buying experience, and directing them to content or products that increase the likelihood of a purchase.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Search Redirects

Use the B2C Commerce guided search redirect feature to direct a customer to a particular page, URL, or pipeline when they enter a search term. When the customer searches on a term, for example, the redirect returns a specific page, instead of returning product search results for the entered search keyword. With search redirects, you have more control over what customers see, enhancing their buying experience, and directing them to content or products that increase the likelihood of a purchase.

## Managing Search Redirects

![Note](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)

Note Redirect functionality doesn’t support redirects for static resources, such as images, at this time.

![Note](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)

Note You can also configure whether to use HTTP or HTTPS for the destination protocol.

The following table shows some examples of possible search redirects.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <colgroup>
            <col>
            <col>
          </colgroup>
          <thead class="slds-text-title_caps ">
            <tr class="">
              <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d60879e51">The customer searches on...</th>
              <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d60879e54">The redirect that appears is a...</th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="The customer searches on..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d60879e51 ">career</td>

              <td data-label="The redirect that appears is a..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d60879e54 ">
                <p>Specific landing page. </p>
                <p style="margin-bottom:0;">This gives the customer exactly
                  the information they’re looking for, instead of performing an irrelevant
                  product search.</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="The customer searches on..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d60879e51 ">featured product</td>

              <td data-label="The redirect that appears is a..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d60879e54 ">
                <p>A microsite that has a different look and feel, content, or shopper's guide
                  information. </p>
                <p style="margin-bottom:0;">For example, you want to create a microsite around a group of
                  movie-related products.</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="The customer searches on..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d60879e51 ">a specific term</td>

              <td data-label="The redirect that appears is a..." class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d60879e54 ">Category page with a wide variety of equivalent
                products.</td>

            </tr>
          </tbody>
        </table>

## Search Redirect Options

Search redirect syntax options give you fine-grained control over how B2C Commerce triggers search redirects.

When the Search Redirect setting is _Disabled,_ B2C Commerce processes keywords using the _Exact_ match type. When the setting is _Enabled,_ B2C Commerce processes keywords using any or all of the following match types: _Exact,_ _Phrase,_ _Broad,_ and _Negative_.

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/images/icon_important.png)

Important There can be up to 1500 redirects per site.

![Note](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)

Note

Each search redirect can be triggered by multiple, comma-separated keywords.

## Exact Match

When the keyword phrase is enclosed in brackets, as in `[mens shoes]`, the redirect rule triggers when the customer searches for the specific phrase _mens shoes_, in that order, with no other words in the search term, and with no variations in the keywords (that is, `[mens shoe]` singular doesn’t trigger the rule).

This table shows an example:

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <colgroup>
            <col>
            <col>
            <col>
          </colgroup>
          <thead class="slds-text-title_caps ">
            <tr class="">
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e174">Keywords</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e177">Search redirect trigger for...</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e180">Search redirect not triggered for...</th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="Keywords" class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e174 ">
                <code>[mens shoes]</code>
              </td>

              <td data-label="Search redirect trigger for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e177 ">mens shoes</td>

              <td data-label="Search redirect not triggered for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e180 ">
                <p>red mens shoes</p>
                <p style="margin-bottom:0;">men's shoes</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Keywords" class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e174 ">
                <code>[sandal]</code>
              </td>

              <td data-label="Search redirect trigger for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e177 ">sandal</td>

              <td data-label="Search redirect not triggered for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e180 ">
                <p>red sandal</p>
                <p>mens sandal</p>
                <p style="margin-bottom:0;">sandals</p>
              </td>

            </tr>
          </tbody>
        </table>

## Phrase Match

When the keyword phrase is enclosed in quotation marks, as in "mens shoes", the redirect rule triggers when the customer searches on the phrase _mens shoes_, with the words in that order. It can also appear for searches that contain other terms as long as it includes the exact phrase specified.

This table shows an example:

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <colgroup>
            <col>
            <col>
            <col>
          </colgroup>
          <thead class="slds-text-title_caps ">
            <tr class="">
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e260">Keywords</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e263">Search redirect trigger for...</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e266">Search redirect not triggered for...</th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="Keywords" class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e260 ">"mens shoes"</td>

              <td data-label="Search redirect trigger for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e263 ">
                <p>mens shoes</p>
                <p>red mens shoes</p>
                <p style="margin-bottom:0;">mens shoes large</p>
              </td>

              <td data-label="Search redirect not triggered for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e266 ">
                <p>shoes men</p>
                <p>men shoes</p>
                <p style="margin-bottom:0;">men's shoes</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Keywords" class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e260 ">"sandals"</td>

              <td data-label="Search redirect trigger for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e263 ">
                <p>sandals</p>
                <p>red sandals</p>
                <p style="margin-bottom:0;">mens sandals</p>
              </td>

              <td data-label="Search redirect not triggered for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e266 ">
                <p>sandal</p>
                <p style="margin-bottom:0;">sandale</p>
              </td>

            </tr>
          </tbody>
        </table>

## Broad Match

When the keyword phrase contains _mens shoes_, with no quotation marks, the rule triggers when the customer's search term contains both _mens_ and _shoes_ in any order. The rule also triggers for singular or plural forms based on stemming for the specific language. Synonyms or other variations aren’t considered.

This table shows an example:

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <colgroup>
            <col>
            <col>
            <col>
          </colgroup>
          <thead class="slds-text-title_caps ">
            <tr class="">
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e364">Keywords</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e367">Search redirect trigger for...</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e370">Search redirect not triggered for...</th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="Keywords" class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e364 ">mens shoes</td>

              <td data-label="Search redirect trigger for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e367 ">
                <p>mens shoes</p>
                <p>cheap shoes for men</p>
                <p style="margin-bottom:0;">buy mens shoes</p>
              </td>

              <td data-label="Search redirect not triggered for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e370 ">
                <p>mens</p>
                <p>shoes</p>
                <p style="margin-bottom:0;">cheap shoes</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Keywords" class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e364 ">sandal</td>

              <td data-label="Search redirect trigger for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e367 ">
                <p>sandals</p>
                <p>red sandals</p>
                <p style="margin-bottom:0;">sandales</p>
              </td>

              <td data-label="Search redirect not triggered for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e370 ">
                <p>red</p>
                <p style="margin-bottom:0;">mens</p>
              </td>

            </tr>
          </tbody>
        </table>

## Negative Match

When the keyword phrase is prefixed with a hyphen, the rule will not trigger for any searches containing those terms. Negative keywords can only be used with at least one _positive_ keyword. A search redirect containing only negative keywords won’t be triggered for any keyword. For example, the keywords _mens shoes, -used_ triggers search redirects for _mens shoes_ and _cheap shoes for men,_ but not _used shoes._

This table shows an example:

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
          <colgroup>
            <col>
            <col>
            <col>
          </colgroup>
          <thead class="slds-text-title_caps ">
            <tr class="">
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e475">Keywords</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e478">Search redirect trigger for...</th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d60879e481">Search redirect not triggered for...</th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="Keywords" class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e475 ">mens shoes, -used, -"running shoes" -basketball shoes,</td>

              <td data-label="Search redirect trigger for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e478 ">
                <p>mens shoes</p>
                <p>cheap shoes for men</p>
                <p>buy mens shoes</p>
                <p style="margin-bottom:0;">shoes running</p>
              </td>

              <td data-label="Search redirect not triggered for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e481 ">
                <p>mens basketball shoes</p>
                <p>running shoes men</p>
                <p style="margin-bottom:0;">used shoes</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Keywords" class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e475 ">-shoes</td>

              <td data-label="Search redirect trigger for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e478 ">
                <p style="margin-bottom:0;">none</p>
              </td>

              <td data-label="Search redirect not triggered for..." class="slds-cell-wrap" style="vertical-align:top;" headers="d60879e481 ">
                <p style="margin-bottom:0;">any</p>
              </td>

            </tr>
          </tbody>
        </table>

## How Search Redirects Work

B2C Commerce uses the _SearchRedirectURL_ pipelet to integrate redirect evaluation into your storefront search flow. The _SearchRedirectURL_ pipelet must be placed before the _Search_ pipelet to make sure that the standard search is bypassed in case the user searches for a redirect keyword.

If the term matches a search redirect, the SearchRedirectURL pipelet calculates the fully qualified target URL based on the configured redirect action. The calculated URL can then be used in an Internet Store Markup Language (ISML) template to issue the actual HTTP redirect to the client browser. For an example, see the _Search-Show_ subpipeline in SiteGenesis.

![Note](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)

Note To download the SiteGenesis pipelines, create a storefront cartridge in Studio.

## Localization

For each search redirect, a list of keywords can be specified per locale. If there are no keywords defined for a specific locale for a search redirect, the standard locale fallback mechanism applies, as shown in the following example.

In this example, some locales have defined keywords and some don’t. The locales that don't have defined keywords use the keywords provided via the fallback mechanism.

 
| Locale | Keywords |
| --- | --- |
| en\_US |   |
| en |   |
| de\_DE |   |
| de\_AT |   |
| de | Männerschuhe, Damenschuhe, -gebraucht |
| es\_ES | "Zapatos de los hombres", "Zapatos de mujer", -utilizado |
| es |   |
| default | mens shoes, womens shoes, -used |

Keywords for the _default_ locale are used when a customer browses using the _en\_US_ locale. This is because _en\_US_ defaults to _en,_ which defaults to _default._ Both locales, _en\_US_ and _en_, use the default keywords: _mens shoes, womens shoes, -used_

The _<de>_ locale is used when a customer browses using the _de\_DE_ or _de\_AT_ locale because both locales, containing no keywords, default to the _de_ locale. A search by a customer in the es\_ES locale uses the es\_ES keywords and no fallback.

## Create Search Redirects

You create search redirects in your B2C Commerce storefront to return a specific page, category, or URL when a customer searches on a particular keyword.

1. Configure how search redirects are processed in [Search Preferences.](https://help.salesforce.com/s/articleView?id=cc.b2c_setting_search_preferences.htm&release=264.0.0&type=5 "The search preferences you configure control the behavior of the search feature for your B2C Commerce instance. These preferences can be exported.")
2. 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 **site** | **Merchant Tools** | **Search** | **Search Driven Redirects** to edit existing search redirects or create one.
3. On the Search Driven Redirects page, enter the keyword (target) you want to create a redirect for and click **Find**.
    
    You can also click **Advanced** or **User Phrase** and search for more detailed options. Make sure that the redirect doesn't exist before continuing.
4. Click **New** to create a redirect, or **Edit** on the row of an existing redirect.
5. On the New (Edit) Search Redirect page:
    1. Select the language and click **Apply**.
    2. Enter one or more words, separated by commas, that you expect the customer to enter when searching for a product.
    3. Select **Online** if you want the redirect to be online and used by B2C Commerce.
    4. Select **Secure** to use https for the destination protocol. Otherwise, http is used. If Enforce HTTPS is enabled for the site, HTTPS is used even if this option isn’t selected.
        
        The destination type URL still returns the defined path without considering the secure setting.
    5. Select the action you want the redirect to take when a customer enters the keyword in the search field.
6. Depending on the action you’ve selected, enter the Product ID, Category ID, Content ID, URL, or the Pipeline name required to complete the action.
7. Click **Apply**.
    
    When you’ve created your search redirects, locate them in the Business Manager via simple, advanced, or user phrase search.