Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

test

test

<?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' );


/* MySQL database table prefix. */
$table_prefix = 'wp_';
define( 'CUSTOM_USER_TABLE',      $table_prefix . 'users' );
define( 'CUSTOM_USER_META_TABLE', $table_prefix . 'usersmeta' );


/* Authentication Unique Keys and Salts. */
define('AUTH_KEY',         'DXKUkBSk(wYUP{sYI*Fn%+lq*Ii|/!Ae@QQ?J(U1|:X75>3C`pFroF7_ZT@_|o}p');
define('SECURE_AUTH_KEY',  'Y`*DML@f$VBY1@MY[.HqfMECk->?6C+~,xgmy~.]UZrpS^fNz+3up49:Sj&:YpY+');
define('LOGGED_IN_KEY',    '|HBrpW}O035Af_;s];QRkOt;&cnfqh`qtfyl~&2/-.bas:-=I Dp TlCD/{iiU#_J-v`boo|+a|Cn;+');
define('LOGGED_IN_SALT',   'HR,!,z8l]0f`U=CNh^T&?i|NiJpMVDS?2V!mx }3**5N#_bb!ltQV^Y;!oz`LE/:');
define('NONCE_SALT',       '|Qwis`x_7cv6h4k<ozg}c@-U!F47J+U3i]=I4{udKiD^(qK!oN5tR{5Z(-G{TVxl');


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


/* Custom WordPress URL. */
define( 'WP_SITEURL',     'http://example.com/blog' );
define( 'WP_HOME',        'http://example.com/wordpress' );
define( 'WP_CONTENT_URL', 'http://example.com/dx-content' );
define( 'UPLOADS',        'http://example.com/dx-content/uploads' );
define( 'WP_PLUGIN_URL',  'http://example.com/dx-content/plugins' );
define( 'COOKIE_DOMAIN',  'subdomain.example.com' );


/* AutoSave Interval. */
define( 'AUTOSAVE_INTERVAL', '70' );
/* Specify maximum number of Revisions. */
define( 'WP_POST_REVISIONS', '10' );
/* Media Trash. */
define( 'MEDIA_TRASH', 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', '65M' );
define( 'WP_MAX_MEMORY_LIMIT', '257M' );


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


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


/* FTP */
define( 'FTP_USER', 'ftpuser' );
define( 'FTP_PASS', 'ftppassword' );
define( 'FTP_HOST', 'ftphost' );
define( 'FTP_SSL', true );


/* CRON */
define( 'DISABLE_WP_CRON',      'true' );
define( 'ALTERNATE_WP_CRON',    'true' );
define( 'WP_CRON_LOCK_TIMEOUT', 30 );


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