Skip to main content
Before going live, make sure to follow these steps when you moving your store to production:
1

Change index prefix

Go to the Algolia configuration in Magento and change the index prefix to be unique for the production environment. For example magento2_prod_.Modify index prefix
Each environment (testing, staging, production) must have a unique index prefix. If the index prefixes are the same, the environments overwrite each other’s data and searching on production might return data from the staging environment.
2

Reindex data

After changing the index prefix, the indices with the new names need to be created. You can achieve this by reindexing the complete catalog.After reindexing, your search is ready to be used in production.
If you enabled the indexing queue in your new environment and want it to run automatically, make sure to add the cron job to that environment.
⌘I