Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

wc2-wpconfig

general config

<?php
/**
 * Custom WordPress configurations on "wp-config.php" file.
 *
 * This file has the following configurations: MySQL settings, Table Prefix, Secret Keys, WordPress Language, ABSPATH and more.
 * For more information visit {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php} Codex page.
 * Created using {@link http://generatewp.com/wp-config/ wp-config.php File Generator} on GenerateWP.com.
 *
 * @package WordPress
 * @generator GenerateWP.com
 */


/* 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',  'utf8mb4' );
define( 'DB_COLLATE',  'utf8mb4-general_ci' );


/* MySQL database table prefix. */
$table_prefix = 'wp_';


/* Authentication Unique Keys and Salts. */
define('AUTH_KEY',         'S|VEGImx8@8Tik=:{>v.:8W@b0WY1+sDKMj|*dx%y$hlwA7U/rM$P(WSj8VvG>iJiJh_7I3Za3y~f?u6K!;i+INZW');
define('LOGGED_IN_KEY',    'LJ$U-]6RQ)|NcgwMg E`;66}B~,wk#Gnynt-O_u7C-+rw25N+I/-cxJ{ZJ[A7KL%');
define('NONCE_KEY',        'NaS.-z6boCg`#o>FpW_,C.&6D/t.|H6ekE+#InayY|$I(-ZJ#u7qH9h53H/A//u1');
define('AUTH_SALT',        '>}j,F>g,hUv3_R6*QtOinB*mz^h>M^oF-y!!Ocf+>7z6~=Gt$vnpU0+vW} 4LjTc');
define('SECURE_AUTH_SALT', 'T(&z~+{>1RglK%?Pw+|aW{r?IBO4Mb]OS#sam>2sfmg}');
define('LOGGED_IN_SALT',   'ch$lJ =rS6n|MOL1Yt#X(dg-MTEl!,Tg@lTEeHu8eA&2*:gllMPaQ!b1|T2gho1x');
define('NONCE_SALT',       'q[#bloH(#-!q)q[sd4kHB{~kNYDy>>lZa5QovW|_7lj4;K~9J~r=gQ%78@ol `Z@');


/* SSL */
define( 'FORCE_SSL_LOGIN', true );
define( 'FORCE_SSL_ADMIN', true );


/* Custom WordPress URL. */
define( 'WP_SITEURL',     'http://wc2.lan' );
define( 'WP_HOME',        'http://wc2.lan' );
define( 'WP_CONTENT_URL', 'wc-content' );
define( 'UPLOADS',        'wc-content/wc-uploads' );
define( 'WP_PLUGIN_URL',  'wc-content/wc-plugins' );


/* Media Trash. */
define( 'MEDIA_TRASH', true );


/* Multisite. */
define( 'WP_ALLOW_MULTISITE', true );


/* WordPress debug mode for developers. */
define( 'WP_DEBUG',         true );
define( 'WP_DEBUG_LOG',     true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'SCRIPT_DEBUG',     true );
define( 'SAVEQUERIES',      true );


/* PHP Memory */
define( 'WP_MEMORY_LIMIT', '128M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );


/* WordPress Cache */
define( 'WP_CACHE', false );


/* Compression */
define( 'COMPRESS_CSS',        true );
define( 'COMPRESS_SCRIPTS',    true );
define( 'CONCATENATE_SCRIPTS', false );
define( 'ENFORCE_GZIP',        true );


/* CRON */
define( 'DISABLE_WP_CRON',      'false' );
define( 'WP_CRON_LOCK_TIMEOUT', 3600 );


/* Updates */
define( 'WP_AUTO_UPDATE_CORE', true );
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');