Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Default test site

<?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 https://generatewp.com/wp-config/ wp-config.php File Generator} on GenerateWP.com.
 *
 * @package WordPress
 * @generator GenerateWP.com
 */


/* MySQL settings */
define( 'DB_NAME',     'wordpress' );
define( 'DB_USER',     'root' );
define( 'DB_PASSWORD', '' );
define( 'DB_HOST',     '127.0.0.1' );
define( 'DB_CHARSET',  'utf8' );


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


/* Authentication Unique Keys and Salts. */
define('AUTH_KEY',         '-3}Mvet>-H#7;-az)1vwaA<TAO:=uM5s:DO2NgZ`DDffGKj4)uB`ukb$z$(qU+pv');
define('SECURE_AUTH_KEY',  'vbn*|ge^m`]^D9<drij<5o<[*d/7Vr&`+EY )4|p+}XzD4?1ULAH*^/7+X& MD}G');
define('LOGGED_IN_KEY',    '4?ATV<Bk(I+M?^q#AVyO+t`p3~]&+:)awau=e6zLDB=g|=x+@c{xb8}IY=^h,9Oa');
define('NONCE_KEY',        '))[u=`RAD5W:C*^=uENpS`*c}b7j|$k?;(3N1v0g)tM7SLJ1*k,=+|;6eK7xw?].');
define('AUTH_SALT',        'g.WO-2J@=-g0uA%pv&YxT[~0t&LXI_t[$f}++X-=CFtITmclY:@tUq4m6J4,18W|');
define('SECURE_AUTH_SALT', 'nVPeo84=9]+n2-NPYi37G_847J`V/U');
define('LOGGED_IN_SALT',   'L!.9I2-Xd|){;Y&%>OV[UOJs72kj+@0sG<Jg1XHZFE(7Myoz`D0V^Z|c');


/* WordPress Localized Language. */
define( 'WPLANG', '' );


/* Updates */
define( 'WP_AUTO_UPDATE_CORE', false );
define( 'DISALLOW_FILE_MODS', false );


/* 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');