Hello we have a headless WordPress site that we’re trialling Algolia on. The site has two domains:
- backend.example.com - the WordPress install that servers content to the static frontend
- example.com - static frontend
We’ve connected Algolia to backend.example.com site and successfully have search working on the example.com. However, the search results on example.com are being returned as backend.example.com/something. This isn’t surprising, Algolia is pulling its data from the backend site.
My question is; how do we perform an automated search and replace on the indexed backend.example.com results, to change them to example.com in Algolia? Any help appreciated.