Magento 1.9: Reindex Through SSH
Reindex Magento 1.9 from SSH with shell/indexer.php — reindex all, list indexes or run a single index from the command line.
Execute reindex using this command
php -f shell/indexer.php reindexall
It is possible to get full list of Magento indexer commands using this command
php -f shell/indexer.php help
To get a list of available indexes, execute this command
php -f shell/indexer.php info
Still on Magento 1? This tutorial is for Magento 1.x, which reached end of life in June 2020 and no longer receives security patches. Our team migrates Magento 1 stores to Magento 2, Mage-OS or Adobe Commerce with your SEO and data intact — see our Magento development services.
Further reading: OpenMage, the community-maintained Magento 1 fork. Need a hand? Our Magento development team can help.
