In Magento 2, indexing is an important process that optimises the performance of your store by generating and updating search, price, and other data. Reindexing is required when there are changes made to the catalog, products, categories, or attributes in your Magento 2 store. To reindex in Magento 2, follow these steps:
Step 1: Access the Magento 2 Admin Panel
Open your web browser and enter the URL of your Magento 2 store followed by “/admin” (e.g., www.yourstore.com/admin). This will take you to the login page of the Magento 2 Admin Panel.
Step 2: Log in to the Admin Panel
Enter your admin username and password to log in to the Magento 2 Admin Panel.
Step 3: Navigate to the Index Management Page
Once you are logged in, navigate to “System” in the main menu on the left-hand side of the Admin Panel. Under “System,” click on “Index Management.” This will open the Index Management page.
Step 4: Select the Indexes to Reindex
On the Index Management page, you will see a list of available indexes. Select the checkboxes next to the indexes that you want to reindex. You can choose to reindex all indexes by selecting the checkbox in the header row.
Step 5: Choose the Reindex Mode
In the Actions dropdown menu at the top right of the page, choose the “Update on Save” option if you want the indexes to be updated automatically whenever changes are made to the corresponding data in your store. Alternatively, you can choose the “Reindex” option to manually trigger the reindexing process.
Step 6: Initiate the Reindexing Process
After selecting the desired indexes and choosing the reindex mode, click on the “Submit” button. This will initiate the reindexing process for the selected indexes.
Step 7: Monitor the Reindexing Progress
The page will refresh, and you will see a progress bar indicating the status of the reindexing process. Depending on the size of your store and the number of selected indexes, this process may take some time. Be patient and allow the reindexing process to complete.
Step 8: Verify the Reindexing Completion
Once the reindexing process is finished, the progress bar will disappear, and the status of the indexes will be updated to “Ready” or “Success.” You can also check the “Last Run” column to see the date and time when the indexes were last updated.
Congratulations! You have successfully reindexed in Magento 2. Reindexing ensures that your store’s data is up to date and optimizes the performance of your Magento 2 store. Remember to periodically reindex your store, especially after making significant changes to your catalog or product data, to ensure accurate search results and smooth store operation.