Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

custome 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',     'database_name_here' );
define( 'DB_USER',     'username_here' );
define( 'DB_PASSWORD', 'password_here' );
define( 'DB_HOST',     'localhost' );
define( 'DB_CHARSET',  'utf8' );


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


/* Authentication Unique Keys and Salts. */
define('AUTH_KEY',         '4@2G(>NU.|-z|EO]cX+o/>TjTtRY>)LAr=+Hu7&+9WuDxhX)WdCtg!ha6 ZS|+F|');
define('SECURE_AUTH_KEY',  'wl~M=ekbtt#wsohyT(FldXF=(VeZOjEXkC$31*ncm<Q_phowdu^p#Wj$UM[T.1/(');
define('LOGGED_IN_KEY',    '8cuiWFZi-LEBBsca k7b]PUY-');
define('NONCE_KEY',        '3KhJpa+Ed>@X!qP(r|`l)wI2k|i>NC<K/5NeDV4~a:8llpasuS+J%hF0&f9f+|o.');
define('AUTH_SALT',        '7Ov[s/oyaagm#){_L+Fq%)#-}zpB-B`2:i+nKKyL*).Du}P&/5]G.?-2-a8E?JCo');
define('SECURE_AUTH_SALT', '+<9{<C/ _A[m+2J$bbpxn#-E::3tD=^pU`EF|z%Fl!vDW_d(g~#+dGi/,HU2.,T=');
define('LOGGED_IN_SALT',   '*j0ndBJ<nm*a(?+F`&*;5ht)}_`<&Vwo{+R@X&jVx|)L_Bka{%l]@R`J?S]JB~=i');
define('NONCE_SALT',       'dukW:FQ{XdOd<elW&;zg+RR|o@@] D4$x(}6T~#|.b({;@A9+KOO(n#++k|`shJX');


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


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


/* Specify maximum number of Revisions. */
define( 'WP_POST_REVISIONS', '7' );
/* Media Trash. */
define( 'MEDIA_TRASH', true );


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


/* PHP Memory */
define( 'WP_MEMORY_LIMIT', '35' );
define( 'WP_MAX_MEMORY_LIMIT', '290' );


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


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


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


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