Reindex Magento Data via SSH

The fastest way to reindex Magento data is manually via SSH.

To reindex the Magento data manually, you need to have an SSH access to your web hosting account. More information on how to access your SiteGround account via SSH can be found in this tutorial.

Once you access your hosting account via SSH go to your Magento installation directory (e.g. public_html/store) and execute the following command, depending on the version of your Magento application:

  • Magento 1.9.x and older:

/usr/local/php56/bin/php-cli -f shell/indexer.php reindexall

  • Magento 2.x and newer:

/usr/local/php56/bin/php-cli bin/magento indexer:reindex

This command will reindex data by all indexers.

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!