Skip to content

Instantly share code, notes, and snippets.

@matthewsimo
Created May 11, 2012 16:37
Show Gist options
  • Select an option

  • Save matthewsimo/2660825 to your computer and use it in GitHub Desktop.

Select an option

Save matthewsimo/2660825 to your computer and use it in GitHub Desktop.
Local Config for WP
<?php
define('WP_CONTENT_DIR','/Users/matthewsimo/projects/lift/.../wp-content');
define('WP_CONTENT_URL','http://local.project.com/wp-content');
define('WP_SITEURL','http://local.project.com/');
define('WP_HOME','http://local.project.com/');
$db_username = 'db_user';
$db_password = 'db_user';
$db_name = 'db_name_here';
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', $db_name);
/** MySQL database username */
define('DB_USER', $db_username);
/** MySQL database password */
define('DB_PASSWORD', $db_password);
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define('WP_DEBUG', false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment