A quick word of warning – if you’re going to blow away the pub/static
folder and regenerate your assets (either dynamically with in developer
mode, or statically with setup:static-content:deploy
) don’t forget to restore the .htaccess
file at pub/static/.htaccess
. Magento won’t be able to do its automatic developer mode generation without this file present.
Magento 2: .htaccess Everywhere
astorm
Frustrated by Magento? Then you’ll love
Commerce Bug,
the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.
![](https://alanastorm.com/2011/promos/no_frills_200x.png)
Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!
Programming Quickies
Quick dispatches from the life of a working programmer.