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 Shifter through Algolia's API.
Setting up Algolia on Shifter
- Create an account on Algolia
- Login to your WordPress dashboard on Shifter
- Install a plugin "Search by Algolia"
- Configure Algolia credentials
- Import the post's data into Algolia
- Set up search form
- Generate your site on the Shifter dashboard
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
Log in to your WordPress dashboard on Shifter
Let's install Algolia into Shifter.
Open the WordPress dashboard on your browser and log in.
Install a plugin "Search by Algolia"
Install Algolia plugin for replacing WordPress default search feature with it.
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.
Setting up search form
On [Search Page], select [Use Algolia with Instantsearch.js].
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].
For Shifter customers, if you want to use Algolia on Shifter, never forget to enable this Autocomplete feature.
Generate your site on the Shifter dashboard
For the last step, generate a new site from Shifter.
Click [Generate] button and access created your site.
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.