Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

Try

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

See Introduction to Magento modes

Edit

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

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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