Search Console - Use Case - How To Automatically Replace the Search Term a User Used With Another One


Use Case - How to automatically replace the search term a user used with another one

Back to User Guides

Note: This guide requires:

Introduction

The  Search Console plugin drastically improves the default WordPress search function, directing users to relevant content without hassle. Automatically redirects users based on search queries, suggest query terms, and replace unwanted words.

The Search Console plugin also protects your website from hackers and spam bots attempting to crash your site with DoS (denial-of-service) attacks.

Use Case Front-End

Use Case Assumptions

In this example we will consider how to automatically replace the search term a user used with another one. With replace, whenever a user searches for a certain word in the search bar, that word will be replaced with another.  

We consider that you have already bought the plugin, but not installed it yet.

It follows:


Installing The plugin

The process is the same for all CM plugins and add-ons.

  • Download the plugin from your customer dashboard
  • Log in to WordPress and navigate to the WordPress Admin → Plugins settings
  • Click on Add New
  • Activate it and add the license

Learn more: Getting Started - Plugin Overview


Setting up

Let's start acquainting with the plugin from its settings. Navigate to Admin Dashboard → CM Search Console → Settings.

Feature Control

In this section you can disable or enable core features of this plugin.

  • Disable Redirect - Disable all the rules in the Redirect Dashboard. (Learn more about this feature in this Use Case)
  • Disable Replace - Disable all the rules in the Replace Dashboard. (We will consider this feature more detailed lower)
  • Disable Autocomplete - Disable all the rules in the autocomplete Dashboard. (Learn more about this feature in this Use Case)
  • Disable Banned - Disable all the rules in the Banned Dashboard. (Learn more about this feature in this Use Case)
  • Disable Loading icon - Disable the loading icon after searching.

Loading Settings

  • Loading label - Change the text of "Searching..." label.

Replace Dashboard

Now it's time to create some rules for replacing the terms of phrases that users search. It can be useful, for example, when users constantly misspelling some word and it can cause to not effective search results.

Navigate to  Admin Dashboard → CM Search Console → Dashboards.

Locate there a tab called Replace Dashboard.

There are two crucial fields for adding a rule - Keyword and Replace term.

In the first (1) field you need to write a keyword that will trigger replacement to the right term that you need to write in the second (2) field. You can delete the rule at any time by clicking the button Delete (3) next to it. And don't forget to click the button Save Changes (4) after creating or deleting the rule. To cancel the actions before they were saved click the button Cancel (5).

Note

The terms in the Keyword column are case-sensitive. It means that the match has to be exact. So, with this rule, the term will be replaced only when it matches.

  1. Banister Crumblebench → Will be replaced
  2. banister crumblebench → Will not be replaced

In the same way you can create any number of rules. To add a new rule just click the button  Add Replace Term. Let's look at the example of how can look like the list with a few created rules:

Now let's see how it works on the Front-end.

Search Terms Log

One more useful feature is Search terms log, where you can see and manage the statistics and activity with search requests. Navigate to Admin Dashboard → CM Search Console → Search terms log.

There is a table with all terms that users searched on your site.

Here you can do the following things:

  1. Erase the log - Click it to clear the log.
  2. Filter by dates - Filter search terms by date. Choose the period of time by setting start and end date, and then click the button Apply.
  3. Search - Search for definite term in the log to see its statistics.
  4. Filter Replace - Check this box and click Apply to filter search requests that replace users requests.
  5. Search Term - Click it to order the items in the log by terms (alphabetical).
  6. Count - Click it to order the items in the log by the number of how many times it's been searched (ascending or descending).

You can also hover on any item and apply a few actions.

  1. Define term in the replace list - Click it to define a replace term for a keyword right here. This rule will also appear in the Replace Dashboard.
  2. Search the term - If click on it you will be redirected to the front-end of your site to see what search results can be found for this term.
  3. Remove - Remove this record from the log.

TIP: Combine Replace and Redirect

You can combine two features  Replace and Redirect. So, you can replace misprinted request to the correct one and redirect users to the specific landing page on your site.

For example, we can redirect users to the index page of the CM Tooltip Glossary plugin when they search for "tooltip". And if someone misprinted and typed "toltip" instead of "tooltip", the term will be replaced and user will be redirected to the right page. This is how it can look like:

You can learn more about Redirect feature in this use case guide: Search Console - Use Case - How To Redirect a User's Search Terms to a Specific Landing Page On Your Site

End Result

Following instructions found in the plugin and guides, you should be able to configure auto replacing the search term a user used with another one

Use Case Front-End


More information about the Search Console WordPress Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us