Magento depends on the indexers to keep your site up to date and to do its magic quickly. For Magento 1.X there are two ways to index:
- Command-line
- Via the Magento admin
Reindex via the Magento Admin
To reindex follow these steps:
- Log into your Magento store admin
- Go to the System tab and select Index Management
- On the resulting screen select the indices you want to reindex
- From the Actions dropdown select Reindex Data
- Click the Submit button
Now your indexers are running and depending on the size of your store this may take a while to complete. Very very large catalogs may take several hours.
Index via command-line
- Log into your server via SSH as the user your site is under
- Navigate to your Magento webroot
- Run the following command from the webroot (the same directory as index.php)
- php shell/indexer.php –reindexall
- The shell will output update as each index completes. Note that you can also run single indexes this way or get other information. Run the –info option to get more information.