Skip to content

Instantly share code, notes, and snippets.

@leowebguy
Created May 4, 2016 19:56
WordPress wp_config with Tweaks
<?php
/** The name of the database for WordPress */
define('DB_NAME', 'mydb_wp1');
define('DB_USER', 'mydb_usr1');
define('DB_PASSWORD', 'lalalalala');
define('DB_HOST', 'localhost');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
define('AUTOMATIC_UPDATER_DISABLED', true); //auto update off
define('FS_METHOD', 'direct'); //file system mode
define('WP_MEMORY_LIMIT', '64M'); //set memory limit
define('WP_AUTO_UPDATE_CORE', false ); //update core off
define('DISALLOW_FILE_MODS',true); //allow plugins update off
define( 'WP_DEBUG_LOG', true ); //debug
define( 'WP_DEBUG_LOG', true ); //generate debug log
define( 'WP_DEBUG_DISPLAY', true ); //print error
/*
define('FS_CHMOD_DIR',0755);
define('FS_CHMOD_FILE',0644);
define('WP_TEMP_DIR',dirname(__FILE__).'/wp-content/uploads');
define('FORCE_SSL_ADMIN', true);
define('WP_HOME','http://mywebsite.com');
define('WP_SITEURL','http://mywebsite.com');
*/
define('AUTH_KEY', '5JB7Ad|G;M5v@.%I=vB*BjnA{M%JSV0s4U3tsX`(=OwuiP/T-!e52ZocvdtR*-|J');
define('SECURE_AUTH_KEY', ',=)B}Mzr$4<}MvM,yU Iw]2m0FY]8cz2.Y.s-,e#@e(Y7H-2KaCFc!g9iux}@|g}');
define('LOGGED_IN_KEY', 'FxS=Rnk6BC#Ujxmv(]kCX|q|K!2[~GLpNVXcDl:n:Nh=ow<&_OhmismDb/iT~:(^');
define('NONCE_KEY', 'O#K8$rPY0C+2sJ.6^}lRk*zwbZve<(7s.X2!!|zLw|]B7fA+ovHD+Q6]4+=2|+X,');
define('AUTH_SALT', '.0ii!~<0QTB=|yr,S%y`4jD8|lZI,7BG$lZ&>&b+:OJ%pv^20Yq04Fj]kn&K(=RQ');
define('SECURE_AUTH_SALT', 'B/0GaD{@2g~4+YY8PTix*H&A}v>tAi)g^MWxeYHdn5O{k4zTq$^s_R8[UEPZx|fP');
define('LOGGED_IN_SALT', '0Q@pnj2|Ii$`FXn._Y]DW63H%M4}v];$ZZkK#28&g%cz-J$ABd-pe_Y-eGGg-f[d');
define('NONCE_SALT', '|J:|sX8L[~vf_|mLZ|^;NNT|7yjyT<|9_URn37&P|kP0D_Et_3`%d*v9ovev?yl(');
$table_prefix = 'wp_'; //always change this
/* That's all, stop editing! Happy blogging. */
/** 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