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.
Dave Clements says:
It might be simple, but it’s a genius idea! I’ve certainly made the mistake of writing changes to the wrong site on a number of occasions! Kudos!
December 7, 2012 at 2:21 pm # //
Ryan says:
Glad to hear you find it useful 🙂
December 7, 2012 at 2:25 pm # //