WP Search with Algolia can index our own WordPress data into Algolia.
But when we made a website as a Headless, we need to replace the indices's permalink from WP to Headless.
So, when use the plugin with WP Search with Algolia, we can customize the permalink of the indices.
- Install the plugin
- Activate it and WP Search with Algolia plugin
- Configure WP Search with Algolia plugin settings
- Go to the
Setting > Reading
page, and put the Headless site domain.
- Create indices by WP Search with Algolia
- The plugin will replace the permalink from WordPress to your inputted domain.
How can we replace the permalink when indexed before the installation ?
We need to re-index by WP Search with Algolia plugin.