how to add synonyms to magento search

How to add search synonyms in magento 2

Rate this article

Share this article
Adding synonyms can be a useful feature to use when you have no products matching a particular search query.  Follow these steps to add synonyms to Magento. Search traffic usually converts more and this feature can help you boost your sales.
how to add synonyms to magento search

For example- if you find out that many users are searching for “smartfone” and if none of your products have the word smartfone in them, the default Magento search is going to return no results.

You can add a synonym saying “iPhone” is a synonym for “smartfone” and when someone searches for smartfone, iphone products will start surfacing.

How to add synonyms to Magento

  1. Login to Magento admin panel.

  2. Navigate to Catalog-> Search terms.

  3. Type the search query you want to add a synonym for and click edit.

  4. Click the Add new search term button for a new search query.

  5. Add synonym and click save search.

magento synonyms


In my store, the search results for “men’s shoes” are pretty bad. Here is a snapshot before adding synonyms.

magento synonyms

Now I follow the above steps and add synonyms- for “men shoes” I add “saddle shoes” as a synonym.

magento synonyms

Results after adding synonyms-

magento synonyms

So now the search results seem to be relevant.

You could also use Expertrec’s Magento search extension to add synonyms to Magento (unidirectional and bidirectional) or import a list of synonyms easily and offer a better Magento site search experience.

magento synonyms


  1. Analyze search queries that don’t have results.
  2. Sort by the number of searches.
  3. Try to add synonyms using the Magento admin panel (catalog->search terms)
  4. Check out improvement in search results.

Add a Search Bar to Magento

Are you showing the right products, to the right shoppers, at the right time? Contact us to know more.
You may also like