2

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

Tilo
  • 21
  • 2
  • please check .any htacess redirection rules exit at server – Amit Bera Jun 07 '16 at 04:17
  • Also need to run: php bin/magento setup:static-content:deploy, you can read more here: http://magento.stackexchange.com/questions/97209/magento-2-css-and-javascript-not-loading-from-correct-folder – Khoa TruongDinh Jun 07 '16 at 04:24
  • http://magento.stackexchange.com/questions/91087/magento-2-admin-url-not-working-and-loaded-frontend-is-all-messy

    -- This might be a help for you

    – Envision eCommerce Jun 07 '16 at 05:04

1 Answers1

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

Thanks

Hardik Patel
  • 748
  • 4
  • 15