I am not very comfortable with command line in admin but when I run php bin/magento indexer:reindex in the root directory I am getting

Status: 404 Not Found X-Powered_By: PHP/5.5.33 content-type: text/html

Any suggestion on how to get reindex completed? I am running Magento 2 on a virtual private server with Godaddy and the reindex does not seem to worl through the application.

  • check your file permissions
    – Maddy
    Commented Mar 21, 2016 at 15:19
  • which file permissions? and what should they be set to? Commented Mar 21, 2016 at 17:23
  • This topic explains permissions and ownership. Commented Mar 21, 2016 at 20:14

1 Answer 1


if you are using windows then run this command in cmd

C:\wamp\bin\php\php5.5.12>php.exe C:\wamp\www\Magento\www\bin\magento indexer:reindex

and if you want to reindex only one indexer then write following command:

C:\wamp\bin\php\php5.5.12>php.exe C:\wamp\www\Magento\www\bin\magento indexer:reindex indexer_name.

where indexer_name can be found by typing following command :

C:\wamp\bin\php\php5.5.12>php.exe C:\wamp\www\Magento\www\bin\magento indexer:info

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.