Reindexing All Data from SSH in Magento

Reindexing All Data from SSH in Magento

First change directory to where Magento is installed then run following command

php shell/indexer.php reindexall

To index one by one you need to run the following command

php shell/indexer.php -–reindex <IndexCode>

To know all available index code you can run following command

php shell/indexer.php info

As result of the above command, you will see two columns, First column represents Index Code and Second Column represents Index Name

And to know status of all indexes following command can be used

php shell/indexer.php –status

Posted in:

Leave a Reply