I have done a fresh installation of magento2.0.6 in server. At Front end the css and js are not loading also, my admin page is showing error. It says the page redirected you too many times


1 Answer 1


After installation magento 2, If css and js are not loaded then perform following steps.

Open command line and goto magento 2 root folder and run following command :

1. php bin/magento setup:static-content:deploy

2. php bin/magento indexer:reindex

3. make sure apache "rewrite_module" is enable and then restart the server

4. delete cache folder under var/cache

I hope this will help you



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.