How to fix one or more indexers are invalid error in Magento installed via cPanel?


I have been searching around the internet to figure out this problem but could not find a concrete solution. Finally, I come up with a simple solution, which will help newbie developers and people who are trying to setup magento very first time on their live server using cPanel as the hosting panel.

Hope, this will be of great use.

You will require a ssh / telnet client, I suggest you to use PuTTY, which you can download from


Enter your Host Name and port, leave the other fields as it is. And click open. A new console will open, will ask for username and password to login, use your cPanel username and password to login.

Now go to the directory where magento is installed. And go inside /bin folder.

For e.g. in my installation of magento, I have installed in the root directory i.e. under public_html folder as you find in file explorer in cPanel.

So, use the command: cd public_html/bin

This will take you inside the bin folder of the magento installation.

Next step,type this command: php magento indexer:reindex

You can see the result below


All done. Cheers!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s