Sunday 23 March 2014

How to Run re-indexing through comman prompt in Magento?

Here is the solution to re-index easily.

First you need open command prompt and go to respective magento path.
Example: I have git in my local then myproject. I have been to git/myproject

Then you can following commands:


  1.        php indexer.php --reindex catalog_product_attribute
  2.        php indexer.php --reindex catalog_product_flat
  3.        php indexer.php --reindex catalog_category_flat 
  4.        php indexer.php --reindex catalog_category_product 
  5.        php indexer.php --reindex catalogsearch_fulltext
  6.        php indexer.php --reindex cataloginventory_stock
  7.        php indexer.php --reindex catalog_product_price
  8.        php indexer.php --reindex catalog_url

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home