Reindex Magento Indexes via SSH
The default indexer in Magento can be quite a time consuming process sometimes, a real time-saver if you have SSH access to your server is to work directly on the command line using the below:-
Navigate to the path of your Magento root before running these.
To reindex individual indexes:-
php ./shell/indexer.php -reindex catalog_product_attribute php ./shell/indexer.php -reindex catalogsearch_fulltext php ./shell/indexer.php -reindex catalog_category_flat php ./shell/indexer.php -reindex catalog_product_flat php ./shell/indexer.php -reindex cataloginventory_stock php ./shell/indexer.php -reindex catalog_category_product php ./shell/indexer.php -reindex catalog_product_price php ./shell/indexer.php -reindex tag_summary php ./shell/indexer.php -reindex catalog_url
To reindex all indexes:-
php ./shell/indexer.php -reindexall
To view a list of available indexes in Magento:-
php ./shell/indexer.php -info
To view the help notes for the indexer command:-
php ./shell/indexer.php -help