Created
November 5, 2013 03:20
-
-
Save DavidV-WPCK/7313339 to your computer and use it in GitHub Desktop.
Extended wp-config.php file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Custom configs "wp-config.php" file. | |
*/ | |
/* MySQL settings */ | |
define( 'DB_NAME', 'database_name_here' ); | |
define( 'DB_USER', 'username_here' ); | |
define( 'DB_PASSWORD', 'password_here' ); | |
define( 'DB_HOST', 'localhost' ); | |
define( 'DB_CHARSET', 'utf8' ); | |
/* MySQL database table prefix. */ | |
$table_prefix = 'srpwpck_'; | |
define( 'CUSTOM_USER_TABLE', $table_prefix . 'srp_user' ); | |
define( 'CUSTOM_USER_META_TABLE', $table_prefix . 'srp_usermeta' ); | |
/* Authentication Unique Keys and Salts. */ | |
/* https://api.wordpress.org/secret-key/1.1/salt/ */ | |
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' ); | |
/* WordPress Localized Language. */ | |
define( 'WPLANG', '' ); | |
/* Custom WordPress URL. */ | |
define( 'WP_SITEURL', 'http://thesite.com' ); | |
define( 'WP_HOME', 'http://thesite.com/srp' ); | |
define( 'WP_CONTENT_URL', 'http://thesite.com/srpt/wp-content' ); | |
/* AutoSave Interval. */ | |
define( 'AUTOSAVE_INTERVAL', '180' ); | |
/* Specify maximum number of Revisions. */ | |
define( 'WP_POST_REVISIONS', '4' ); | |
/* Media Trash. */ | |
define( 'MEDIA_TRASH', true ); | |
/* Trash Days. */ | |
define( 'EMPTY_TRASH_DAYS', '2' ); | |
/* Multisite. */ | |
define( 'WP_ALLOW_MULTISITE', false ); | |
/* WordPress debug mode for developers. */ | |
define( 'WP_DEBUG', false ); | |
define( 'WP_DEBUG_LOG', false ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'SCRIPT_DEBUG', false ); | |
define( 'SAVEQUERIES', false ); | |
/* PHP Memory */ | |
define( 'WP_MEMORY_LIMIT', '180M' ); | |
/* WordPress Cache */ | |
define( 'WP_CACHE', true ); | |
/* Compression */ | |
define( 'COMPRESS_CSS', true ); | |
define( 'COMPRESS_SCRIPTS', true ); | |
define( 'CONCATENATE_SCRIPTS', true ); | |
define( 'ENFORCE_GZIP', true ); | |
/* Updates */ | |
define( 'WP_AUTO_UPDATE_CORE', 'minor' ); | |
define( 'DISALLOW_FILE_MODS', false ); | |
define( 'DISALLOW_FILE_EDIT', true ); | |
/* Absolute path to the WordPress directory. */ | |
if ( !defined('ABSPATH') ) | |
define('ABSPATH', dirname(__FILE__) . '/'); | |
/* Sets up WordPress vars and included files. */ | |
require_once(ABSPATH . 'wp-settings.php'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
How do you change the MySQL table prefix in database? I read there may be conflicts if you don’t manage DB.