wp-config.php Generator


Use this tool to create customs code for WordPress configuration settings on wp-config.php file.


  • Fill in the user-friendly form.
  • Click the “Update Code” button.
  • Copy the code to your wp-config.php file.
  • Or save it as a snippet and share with the community.


If you are still learning how to use this tool, check out the following examples:

MySQL database name.
MySQL database Host.
MySQL database user name.
MySQL database password.
MySQL database charset.
MySQL database collate type.
e.g. 'utf8_general_ci'
MySQL database table prefix.
Change default 'wp_user' table.
Change default 'wp_usermeta' table.
Unique security keys and salts. Insert manually or auto generated.
Force SSL Admin.
Your Wordpress blog/site URI.
WordPress core files URI.
Custom 'wp-content' URI.
Custom 'wp-content/uploads' URI.
Custom 'wp-content/plugins' URI.
Auto-save interval (seconds).
Default: 60
Enable/disable revisions.
Set maximum number of revisions.
Default: No limit
Enable trash for media.
Number of days before trash emptied.
Default: 30.
Enable Multisite / Network Ability.
Display errors and warnings.
Save database queries in an array ($wpdb->queries) for analysis.
Log errors and warnings.
Display errors and warnings.
JavaScript or CSS errors.
PHP memory limit.
Default: 30M ; Multisite Default: 64M
Maximum memory limit.
Default: 256M
Include 'wp-content/advanced-cache.php' script, when executing 'wp-settings.php'.
Compresses CSS.
Compresses JavaScript.
Concatenates JavaScript and CSS files.
Forces gzip for compressoin of data sent to browsers.
FTP or SSH username.
FTP or SSH password.
FTP or SSH hostname.
Allow "Secure FTP" connection (not SSH SFTP).
Disable the WordPress cron entirely.
Set an alternate WordPress cron.
Set maximum cron process execution time (seconds).
Enable or disable update and installation from the admin.
Enable or disable auto core updates and language packs.
Enable or disable the Plugin/Theme Editor.
  Save Snippet
 * 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',     'gonoordco' );
define( 'DB_USER',     'gonoordco' );
define( 'DB_PASSWORD', 'es!dQrPi@jP2aKWx' );
define( 'DB_HOST',     'ftp.gonoord.com' );
define( 'DB_CHARSET',  'utf8mb4' );

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

/* Authentication Unique Keys and Salts. */
/* https://api.wordpress.org/secret-key/1.1/salt/ */
define( 'AUTH_KEY',         'put your unique phrase here' );
define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
define( 'NONCE_KEY',        'put your unique phrase here' );
define( 'AUTH_SALT',        'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
define( 'NONCE_SALT',       'put your unique phrase here' );

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

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

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

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

/* FTP */
define( 'FTP_USER', 'gonoordco' );
define( 'FTP_PASS', 'es!dQrPi@jP2aKWx' );
define( 'FTP_HOST', 'ftp.gonoord.com' );
define( 'FTP_SSL', true );

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

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