Know when you are on localhost!
Published October 24th, 2012 under Plugins
Those of you who regularly switch their hosts file to change from production to local environments should check out my new mu plugin. It will hopefully make things a little easier for you during development and reduce the number of headaches created by accidentally working on the live site when you thought you were working on your local environment. It’s not so much a finished product, as a starting point for you to modify to suit your own needs.
This is based on a concept by Kaspars Dambis.