Aid the development process on a local WordPress site by adding some handy reminders and overriding outgoing emails.
To install directly from your WordPress dashboard:
Alternatively, see the official WordPress Codex guide to Manually Installing Plugins.
Ideally you should install Easy Local Site in wp-content/mu-plugins (plugins in here are 'Must Use' and are automatically activated). This will mean that it is always activated, even after migrating a database from a production site where the plugin is not installed/activated, so you don't have to remember to manually activate it.
You must use the WP_LOCAL_DEV constant method as outlined by Mark Jaquith: markjaquith.wordpress.com/2011/06/24/wordpress-local-dev-tips
If the WP_LOCAL_DEV constant is not defined this plugin will do nothing. This means you can safely put it in your mu-plugins folder and include it in your Git repository on a production site.
To override outgoing emails, you must define WP_LOCAL_EMAIL in local-config.php as follows:
define( 'WP_LOCAL_EMAIL', 'email@example.com' );
You can also download this plugin from GitHub at https://github.com/lumpysimon/wp-easy-local-site
Requires: 3.1 or higher
Compatible up to: 4.1.10
Last Updated: 1 year ago
Active Installs: 20+
Got something to say? Need help?