Skip to content

Instantly share code, notes, and snippets.

@jb510
Created June 17, 2013 01:56
Show Gist options
  • Save jb510/5794231 to your computer and use it in GitHub Desktop.
Save jb510/5794231 to your computer and use it in GitHub Desktop.
/**
* Jon Brown's Local WordPress configuration file
*
* @Author Jon Brown <http://wanderingjon.com>
* @Version 3.0
* @Author URI http://www.jbrownstudios.com
* @Atributuon Mark Jaquith <http://markjaquith.wordpress.com/2011/06/24/wordpress-local-dev-tips/>
* @License GPLv2
*/
define('DB_NAME', 'default_localdb'); #CHANGE
define('DB_USER', 'local_user'); #CHANGE
define('DB_PASSWORD', 'local_pass'); #CHANGE
define('DB_HOST', 'localhost' ); // Probably 'localhost' #CHANGE
$table_prefix = 'wp_';
/**
* Site URLs
*/
$live = 'http://domain.com/'; #CHANGE to live url but not currently used
$lcl = 'http://lcl.domain.com/'; #CHANGE to local url
define('WP_HOME', $lcl );
define('WP_SITEURL', $lcl );
/*
* Debug on/off for Development
*/
define('WP_LOCAL_DEV', true ); // Used by disable plugin for local dev plugin in /mu-plugins
define('WP_DEBUG', true);
define('SAVEQUERIES', false);
define('WP_CACHE', false);
define('JETPACK_DEV_DEBUG', true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment