What is Algolia?

Algolia is the high-performance search system with keyword suggestion and sorting search results. After installing the plugin, you may connect your WordPress site to Algolia, and then run the website through Algolia's API.

Get Algolia

 

Setting up Algolia on WordPress

  1. Create an account on Algolia 
  2. Login to your WordPress dashboard
  3. Install a plugin "WP Search with Algolia"
  4. Configure Algolia credentials
  5. Import the post's data into Algolia
  6. Set up search form
  7. Confirm it could work

 

1. Create an account on Algolia

Algolia offers a free trial and a free plan.

Choose [API Keys] on the left menu.

Copy the following three keys for setting up the plugin:

  • Application ID
  • Search-Only API Key
  • Admin API Key

2. Log in to your WordPress dashboard

Let's install Algolia plugin into WordPress.
Open the WordPress dashboard on your browser and log in.

3. Install a plugin "WP Search with Algolia"

Install Algolia plugin for replacing WordPress default search feature with it.

4-1. Configure Algolia credentials

Click [Algolia search] and make initial setups.
Input "Application ID", "Search-Only API Key" and "Admin API Key" which you copied from the Algolia Management page.

 

4-2. Setting up search form

On [Search Page], select [Use Algolia with Instantsearch.js].

 

4-3. Setting up Autocomplete 

You can change the search engine to the native WordPress or Algolia on [Search Page].
Then enable [Autocomplete] and configure [Index], [Max. Suggestions] and [Positions].
Never forget to enable this Autocomplete feature.

 

Access your website and confirm it works

For the last step, back to front page of your WordPress.
When you input letters or words into the search form, Algolia's autocompleting feature shows search results without clicking the search button or hitting the enter key.


That's all!

Did this answer your question?