Indexing through Command line Magento1.x

Reindexing in Magento1.X through Command line:

Sometimes we need to re-index Magento through command line to avoid the broken process from Magento Interface.

On our Magento root folder we have shell directory that contains indexing script.

Go to your magento root folder then shell folder and run below commands:

1. php indexer.php --status 

 If you are indexing on xamp local throwing  error like "PHP is not a recognized command" you can run command like below

 E:/xamp/php/php.exe indexer.php --status 

 It will show you status of all the indexers like below.

 

2. To reindex a single index, we need to run the below command

  php indexer.php --info 

 It will provide you the key of all indexers as below and to run any of indexer we  use below syntax.

  php indexer.php --reindex [Index Code]

  php indexer.php --reindex catalog_product_price,catalog_url

  OR 

   E:/xamp/php/php.exe indexer.php catalog_product_price,catalog_url

 

3. To reindex all

   php indexer.php --reindexall

  OR 

   E:/xamp/php/php.exe indexer.php --reindexall

It will output like this

 

0   0
Sikha Goel
profile Jewel Galore 22nd January 2024

 Explore the diverse world of pakistani bangles online at Jewel Galore. Whether you're into vintage, minimalist, or extravagant designs, we have the ideal ring to capture your personal style and enhance your look. 

Write a comment ...
Post comment
Cancel
profile Shalamar Hospital 22nd January 2024

Shalamar Hospital's  ENT  department is dedicated to your ear, nose, and throat well-being. Count on us for comprehensive ENT services in a caring medical environment.

Write a comment ...
Post comment
Cancel
profile OSH 22nd January 2024

Elevate your expertise with Osh University's  post graduate courses . Engage in meaningful research and advanced coursework, guided by a distinguished faculty. Osh is your gateway to a future of innovation and leadership in your chosen discipline.

Write a comment ...
Post comment
Cancel
profile Larry 21st December 2023

The step by step commands for reindexing different elements via the command line in Magento1.X make troubleshooting and maintenance much smoother.
Professional Bathroom & Kitchen Remodeling Services in Eagle

Write a comment ...
Post comment
Cancel
profile Susan 19th December 2023

Unwind and recharge at 출장마사지.shop, Changwon's premier destination for business trip massages in 2024. Our dedicated team of managers prioritizes your well-being, offering expert services tailored to relieve stress. Experience the magic of our weekly trained therapists and discover why our satisfied clients choose us time and again for a rejuvenating escape.

Write a comment ...
Post comment
Cancel

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site