Is there a list of command line tools to enter for changing modes? I went from developer mode to production and back again and now my css is all 404s.It doesn't feel like it should be this hard.



bin/magento deploy:mode:set developer
bin/magento cache:flush

See Introduction to Magento modes


Double check to make sure pub/static/.htaccess exist.

and try running bin/magento setup:static-content:deploy

| improve this answer | |
  • No luck. My css is pointing to pub/static that throws 404s. – Matthew McLennan Feb 19 '16 at 17:20
  • What mode is it currently set to? Are there any files in pub/static? Did you check the folder permission? – Renon Stewart Feb 19 '16 at 17:27
  • Developer. No files. 777 – Matthew McLennan Feb 19 '16 at 17:31
  • Is there a .htacess in pub/static? – Renon Stewart Feb 19 '16 at 17:40
  • No. I grabbed one from the github repo and put one in. Same issue. – Matthew McLennan Feb 19 '16 at 17:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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