Search and merchandising

Add synonyms and search redirects

Use Search rewrites to ensure your customers can find what they’re looking for no matter what they search for, and redirect them to the correct page if they search for something obvious.

On this page

Pick the right type

The three kinds of search rewrite, when to use each and an example
Type Use it when Example
Synonyms: these terms mean the same thing Shoppers use different words for the same thing. A group needs at least two terms. “hoodie”, “hoody” and “hooded top”
One-way: also search for other terms One term is broader than another. A search for the broad term should find the narrow one, but not the other way round. “waterproofs” also searches for “rain jacket” and “overtrousers”
Redirect: send the shopper to a page A search has one obvious destination. “returns” goes to your returns page; “gift cards” goes to the gift card page

A good rule of thumb for one-way: would someone searching for “waterproofs” want to see rain jackets? Yes. Would someone searching for “rain jacket” want to see overtrousers? Probably not. If it works both ways, use a synonym group.

Add a rewrite

  1. Start a new rewrite

    Navigate to Merchandising → Search rewrites and click New search rewrite. Select your Website if you have multiple.

  2. Choose the type and the terms

    Select a Type. If you’re creating a synonym, enter all the words that you want to be synonymous. If you’re creating a one-way or redirect, enter what your customer searches for under When a shopper searches for. You can enter whole words or phrases, in upper or lower case.

  3. Say what happens

    If you’re creating a one-way rewrite, enter the additional words you want to search for under Also search for. If you’re creating a redirect, enter Send the shopper to: a path on your store beginning with a / or an https link to your own store. Then select Match: whether the whole search must be exactly one of the terms, or just contain one of them.

  4. Choose its status

    Live: applied for your customers. Draft: you can see it in the Visual merchandiser preview, but it isn’t applied to your store. Off: the rewrite is saved, but not applied anywhere.

  5. Limit where and when, if you need to

    Under Where and when, you can limit your rewrite to one Storefront or Store view, and select Starts and Ends dates if you want to apply it to a seasonal range or sale.

  6. Save and preview

    Once you’ve saved your rewrite, you can use Preview search from the rewrite’s actions to see what your customers see.

Adding a synonym group in Search rewrites Example data

Rows from Magento

We use any synonym groups you already have set up in Magento under Marketing → SEO & Search → Search Synonyms. These appear in your list labelled Magento and are read-only. Any changes you make in Magento are reflected in Ottla within a few minutes. Magento’s own search term redirects (Marketing → SEO & Search → Search Terms) still apply first, and we also use Magento’s list of words to ignore for each language.

Any rewrites created from a campaign also appear as read-only. You can edit these in your campaign. If you’re cleaning up your Magento synonyms, our post on Magento search synonyms is a good companion.

Find what to add

The best place to start is your own search data. Insights → Sales and search has a panel called Search queries which shows you searches that return no results. Each has an Add synonym link. On Growth and above you can navigate to Insights → Demand inbox, which ranks your no-result searches by estimated value and allows you to add a synonym or redirect in one click.

FAQ

Questions about search rewrites

Should we use a synonym group or one-way?

Use one-way if one word is broader than the other. Use a synonym group if the words are interchangeable.

Why can’t we edit some rows?

Any rows that say Magento are from your Magento synonyms. Rows that have a campaign are from that campaign. You can edit them there and they are updated in Ottla.

Can a rewrite run for a set period?

Yes. You can add a Starts and Ends date under Where and when.

Still stuck? We can help.

In the console, click the user menu (your name) and select Contact Ottla support. Any member of your team can contact us and we’ll know which workspace your message is about.

14 days free. No card needed.