Browse Source

Add local config sample

Co-authored-by: dylanjameswagner <hello@dylanjameswagner.com>
Co-authored-by: Doug Cone <nullvariable@users.noreply.github.com>
pull/256/head
Doug Cone 8 months ago
committed by Pantheon Automation
parent
commit
bd2d9887f9
1 changed files with 33 additions and 0 deletions
  1. +33
    -0
      wp-config-local-sample.php

+ 33
- 0
wp-config-local-sample.php View File

@ -0,0 +1,33 @@
<?php
/**
* This is a sample config for local development. wp-config.php will
* load this file if you're not in a Pantheon environment. Simply edit/copy
* as needed and rename to wp-config-local.php.
*
* Be sure to replace YOUR LOCAL DOMAIN below too.
*/
define( 'DB_NAME', 'database_name' );
define( 'DB_USER', 'database_username' );
define( 'DB_PASSWORD', 'database_password' );
define( 'DB_HOST', 'database_host' );
define( 'DB_CHARSET', 'utf8' );
define( 'DB_COLLATE', '' );
define( 'AUTH_KEY', 'put your unique phrase here' );
define( 'SECURE_AUTH_KEY', 'put your unique phrase here' );
define( 'LOGGED_IN_KEY', 'put your unique phrase here' );
define( 'NONCE_KEY', 'put your unique phrase here' );
define( 'AUTH_SALT', 'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT', 'put your unique phrase here' );
define( 'NONCE_SALT', 'put your unique phrase here' );
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'WP_HOME', '<YOUR LOCAL DOMAIN>' );
define( 'WP_SITEURL', '<YOUR LOCAL DOMAIN>' );
define( 'WP_AUTO_UPDATE_CORE', false );

Loading…
Cancel
Save