Re-Index Magento Data via SSH
All Magento information can be reindexed through the Magento Index Management area in the administrator board. On the other hand, at times the reindexing methodology times out and does not finish. So there is another, quicker approach to reindex your Magento information. To reindex the information physically, you will require SSH access to your facilitating record.
Magento utilizes a great deal of assets to re-record information from the Admin Panel. A decent approach to re-index information without utilizing the administrator board is to utilize summon shell “ssh”. This likewise would work in the event that you happen to be bolted out of the administrator board.
Follow below instruction to re-index information using command shell:
Step 1:Go to ‘shell’ folder in your Magento installation:
# cd shell
Step 2: Execute reindex using following command:
php -f indexer.php reindexall
php -f indexer.php --help
php -f indexer.php info
After running above command It give’s following Magento indexer list. By default, there are 8 indexes in Magento.
catalog_product_attribute Product Attributes catalog_product_price Product Prices catalog_url Catalog Url Rewrites catalog_product_flat Product Flat Data catalog_category_flat Category Flat Data catalog_category_product Category Products catalogsearch_fulltext Catalog Search Index cataloginventory_stock Stock status
php indexer.php --reindex catalog_product_attribute php indexer.php --reindex catalog_product_price php indexer.php --reindex catalog_url php indexer.php --reindex catalog_product_flat php indexer.php --reindex catalog_category_flat php indexer.php --reindex catalog_category_product php indexer.php --reindex catalogsearch_fulltext php indexer.php --reindex cataloginventory_stock php indexer.php --reindex tag_summary