-
-
Save johanoloflindberg/520e5f0c09fda0b40e11a75b5c5aa3bf to your computer and use it in GitHub Desktop.
Optimized wp-config.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 = 'random-prefix_'; | |
define( 'CUSTOM_USER_TABLE', $table_prefix . 'random-user-table' ); | |
define( 'CUSTOM_USER_META_TABLE', $table_prefix . 'random-meta-table' ); | |
/* Authentication Unique Keys and Salts. */ | |
define('AUTH_KEY', ']8V,I>nRmD*l&,>(PZWl4/sWCdqw.-[dqwXLf=M+@z|GiB k|_9#8|#%;-.BJ'); | |
define('SECURE_AUTH_KEY', 'M;~UB19u+_T[@Qm_fsL;SI!nW? }KHPNSQzF^EP`rERY9*m|f5*+cCqsvwF6ea*o'); | |
define('LOGGED_IN_KEY', 'nPkHLpskd&SNz_/@Aiebrms#,0+HKE K}m7/Q*Bql/zXoO@|8#sq09c?v7|R1R|h'); | |
define('NONCE_KEY', 'HF6=3k:|V-5wbH>XQ_.(Qx!)(S{A][q]ai?MpW P.vOdsx2heR{XC/_|hy*b}v'); | |
define('LOGGED_IN_SALT', '}bL|I0Vsx8.~]rNL=o)L|0-Pfo,dcYo9jvV^%B-(8=d5K-x@+X_QYi/F+p_[YlyG'); | |
define('NONCE_SALT', 'DFYB-6NdaDU!L^FI$Cg/m3QB%oIZOEZ]f/_D.Hz%sq~-uJU?wJLhb{q=xu8GflQ/'); | |
/* SSL */ | |
define( 'FORCE_SSL_LOGIN', true ); | |
define( 'FORCE_SSL_ADMIN', true ); | |
/* Custom WordPress URL. */ | |
define( 'WP_SITEURL', 'http://example.com' ); | |
define( 'WP_HOME', 'http://example.com' ); | |
define( 'WP_CONTENT_URL', 'http://example.com/content' ); | |
define( 'UPLOADS', 'http://example.com/uploads' ); | |
define( 'WP_PLUGIN_URL', 'http://example.com/plugins' ); | |
/* Specify maximum number of Revisions. */ | |
define( 'WP_POST_REVISIONS', '25' ); | |
/* 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', '64M' ); | |
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_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'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment