Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

wp-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 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', 'root' );
define( 'DB_HOST',     'localhost' );
define( 'DB_CHARSET',  'utf8mb4' );


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


/* Authentication Unique Keys and Salts. */
define('AUTH_KEY',         'nYzT O|vk5o7k[?ghz+k_k@@$B!-L`-?X.FC*ZL<gl<^4J]EVH!vA.B4|KQTN1Jq*_6VaIB#ug.w.N[nD,RRIuZ2zJb!XyVK$7&ON@9>8u');
define('LOGGED_IN_KEY',    '-1&[%h){G7o!fTp?Of.@I#e_9==s+x-_bi');
define('NONCE_KEY',        'p/):f~9xb)M6Zz*YO6[mE!NWy!akG >F<Fk}nM4Ta^WE#s|#');
define('AUTH_SALT',        'Y.M qQkf~n*JV3TfVZ7Y/Nv=GZAah0GH;NRXp%X:i6g-+T-fdRZFR%7kCg3oq~+=');
define('SECURE_AUTH_SALT', '/4@NaRB:fRVCzs(w*T29LA P VB`gZ_2CEICN^_86]/.GF(p&x6WM/~AlwAdl|%.89a87->+1UdN[kDm?N2F5Vc|B*p)+h+.Zg/gr~X@iRPxQ~N');
define('NONCE_SALT',       '?TS~m0.heG5,JVwb(s?l7i5]PO?Bm; QLAsnH1]}JywExh1q{u|c/r|%VZK,9n}?');


/* Custom WordPress URL. */
define( 'WP_CONTENT_URL', 'http://example.com/assets' );
define( 'UPLOADS',        'http://example.com/assets/uploads' );
define( 'WP_PLUGIN_URL',  'http://example.com/assets/plugins' );


/* Disable Post Revisions. */
define( 'WP_POST_REVISIONS', false );
/* Media Trash. */
define( 'MEDIA_TRASH', false );


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


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


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


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