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:
- 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 drop-down 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 (Connecting via SSH)
- Navigate to your Magento web root
- Run the following command from the web root (the same directory as index.php)
1php shell/indexer.php --reindexall
- The shell will output an 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.