WordPress Search Engine Plugin - Use Case - How To Redirect a User's Search Terms to a Specific Landing Page On Your Site


Use Case - How to redirect a user's search terms to a specific landing page on your site

Back to User Guides

Note: This guide requires:

Video Use-Case


Introduction

The WordPress Search Engine 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 WordPress Search Engine 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

Front-end example - WordPress Search Plugin
Front-end example

Use Case Assumptions

In this example use case guide we will consider how to redirect a user's search terms to a specific landing page on your site. With redirect, whenever a user searches for a certain word in the search bar, he/she will be redirected to an internal URL of your choice. 

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.

CreativeMinds Customer Account Dashboard - Downloads tab
CreativeMinds Customer Account Dashboard
  • 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.

Navigation to the plugin settings - Search Engine Plugin for WordPress
Navigation to the plugin settings

Feature Control

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

Feature control settings - WordPress Search Bar Plugin
Feature control settings
  • Disable Redirect - Disable all the rules in the Redirect Dashboard. (We will consider this feature more detailed lower)
  • Disable Replace - Disable all the rules in the Replace Dashboard. (Learn more about this feature in this Use Case)
  • 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 icon - WordPress Search Suggestions
Loading icon

Redirect Settings

Case sensitivity option - WordPress Search Form Plugin
Case sensitivity option
  • Enable upper case / lower case - If this option is enabled then search requests with different upper and lower cases will be considered as not the same. Example:
    • If the option is disabled (set to "No"): words "Example" and "example" will be considered as the same.
    • If the option is enabled (set to "Yes"): words "Example" and "example" will be considered as different words. 

Loading Settings

Loading label option - WordPress Search Plugin
Loading label option
  • Loading label - Change the text of "Searching..." label.
Front-end example - Search Engine Plugin for WordPress
Front-end example

Redirect Dashboard

Now it's time to create some rules for redirecting the users to definite pages when users search for some definite terms.

Navigate to Admin Dashboard → CM Search Console → Dashboards.

Navigation to the rules dashboards - WordPress Search Bar Plugin
Navigation to the rules dashboards

Locate there a tab called Redirect Dashboard.

Redirect dashboard - WordPress Search Suggestions
Redirect dashboard

There are two crucial fields for creating a rule - Keyword and URL Destination.

Form for adding a rule - WordPress Search Form Plugin
Form for adding a rule

In the first (1) field you need to write a keyword that will trigger a transfer to a URL link 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).

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

Adding rules - WordPress Search Plugin
Adding rules

Notes

  • URL Destination - it should be absolute path like https://yoursite.com/page/
  • Keyword - it doesn't have to completely match the term. You can put asterisk (*) at the end to allow a partial match. So there can be any symbols before and after the keyword, and it will match as the same term. The main rule is the characters inside of the found term must match the keyword. As you can see on the screenshot above, we have there a keyword contact*. Examples of cases that will be matched and will redirect the user to defined URL:
    • contact
    • contacts
    • contactmmmm
    • discontact
    • %contact$
    • Contact (in case if in plugin settings the option Enable upper case / lower case is turned off) And the following cases will not redirect the user to the URL, as some characters inside of the term are different: 
    • contract
    • condact

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

Front-end example - Search Engine Plugin for WordPress
Front-end example

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.

Navigation to the search terms log - WordPress Search Bar Plugin
Navigation to the search terms log

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

Search terms log - WordPress Search Suggestions
Search terms log

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 Redirect - Check this box and click Apply to filter search requests that redirected users to specific URLs.
  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.

Actions for managing terms - WordPress Search Form Plugin
Actions for managing terms
  1. Define term in the redirect list - Click it to define a URL link for redirecting right here. This rule will also appear in Redirect Dashboard.

    Managing the term - WordPress Search Plugin
    Managing the term
  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 1: Combine Redirect and Autocomplete

You can combine two features Redirect and Autocomplete. So, you can offer some frequent request and redirect users to the specific landing page on your site.

For example, the user is looking for a glossary on your site. So, you can offer this term in the search bar and redirect him straight to the index page with the glossary. This is how it can look like:

Front-end example - Search Engine Plugin for WordPress
Front-end example

You can learn more about Autocomplete feature in this use case guide: WordPress Search Engine Plugin - Use Case - How To Add Search Autocomplete To Your Site

TIP 2: Combine Redirect and Replace

You can combine two features Redirect and Replace. 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:

Front-end example - WordPress Search Bar Plugin
Front-end example

You can learn more about Replace feature in this use case guide: WordPress Search Engine Plugin - Use Case - How To Automatically Replace the Search Term a User Used With Another One

End Result

Following instructions found in the plugin and guides, you should be able to configure redirecting a user's search terms to a specific landing page on your site.

Use Case Front-End

Front-end example - WordPress Search Suggestions
Front-end example

More information about the WordPress Search Engine 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.