Created
August 18, 2020 19:27
-
-
Save jessuppi/d6ae9421a690c79dc6bb04d0847b5997 to your computer and use it in GitHub Desktop.
WP Engine wp-config.php example
This file contains 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 | |
# Database Configuration | |
define( 'DB_NAME', 'XXX' ); | |
define( 'DB_USER', 'XXX' ); | |
define( 'DB_PASSWORD', 'XXX' ); | |
define( 'DB_HOST', '127.0.0.1' ); | |
define( 'DB_HOST_SLAVE', '127.0.0.1' ); | |
define('DB_CHARSET', 'utf8'); | |
define('DB_COLLATE', 'utf8_unicode_ci'); | |
$table_prefix = 'wp_'; | |
# Security Salts, Keys, Etc | |
define('AUTH_KEY', 'XXX'); | |
define('SECURE_AUTH_KEY', 'XXX'); | |
define('LOGGED_IN_KEY', 'XXX'); | |
define('NONCE_KEY', 'XXX'); | |
define('AUTH_SALT', 'XXX'); | |
define('SECURE_AUTH_SALT', 'XXX'); | |
define('LOGGED_IN_SALT', 'XXX'); | |
define('NONCE_SALT', 'XXX'); | |
# Localized Language Stuff | |
define( 'WP_CACHE', TRUE ); | |
define( 'WP_AUTO_UPDATE_CORE', false ); | |
define( 'PWP_NAME', 'XXX' ); | |
define( 'FS_METHOD', 'direct' ); | |
define( 'FS_CHMOD_DIR', 0775 ); | |
define( 'FS_CHMOD_FILE', 0664 ); | |
define( 'PWP_ROOT_DIR', '/nas/wp' ); | |
define( 'WPE_APIKEY', 'XXX' ); | |
define( 'WPE_CLUSTER_ID', '12345' ); | |
define( 'WPE_CLUSTER_TYPE', 'pod' ); | |
define( 'WPE_ISP', true ); | |
define( 'WPE_BPOD', false ); | |
define( 'WPE_RO_FILESYSTEM', false ); | |
define( 'WPE_LARGEFS_BUCKET', 'largefs.wpengine' ); | |
define( 'WPE_SFTP_PORT', 2222 ); | |
define( 'WPE_LBMASTER_IP', '' ); | |
define( 'WPE_CDN_DISABLE_ALLOWED', true ); | |
define( 'DISALLOW_FILE_MODS', FALSE ); | |
define( 'DISALLOW_FILE_EDIT', FALSE ); | |
define( 'DISABLE_WP_CRON', false ); | |
define( 'WPE_FORCE_SSL_LOGIN', true ); | |
define( 'FORCE_SSL_LOGIN', true ); | |
/*SSLSTART*/ if ( isset($_SERVER['HTTP_X_WPE_SSL']) && $_SERVER['HTTP_X_WPE_SSL'] ) $_SERVER['HTTPS'] = 'on'; /*SSLEND*/ | |
define( 'WPE_EXTERNAL_URL', false ); | |
define( 'WP_POST_REVISIONS', FALSE ); | |
define( 'WPE_WHITELABEL', 'wpengine' ); | |
define( 'WP_TURN_OFF_ADMIN_BAR', false ); | |
define( 'WPE_BETA_TESTER', false ); | |
umask(0002); | |
$wpe_cdn_uris=array ( ); | |
$wpe_no_cdn_uris=array ( ); | |
$wpe_content_regexs=array ( ); | |
$wpe_all_domains=array ( 0 => 'example.com', 1 => 'www.example.com', 2 => 'example.wpengine.com', ); | |
$wpe_varnish_servers=array ( 0 => 'pod-11111', ); | |
$wpe_special_ips=array ( 0 => '111.222.333.444', ); | |
$wpe_ec_servers=array ( ); | |
$wpe_largefs=array ( ); | |
$wpe_netdna_domains=array ( ); | |
$wpe_netdna_domains_secure=array ( ); | |
$wpe_netdna_push_domains=array ( ); | |
$wpe_domain_mappings=array ( ); | |
$memcached_servers=array ( 'default' => array ( 0 => 'unix:///tmp/memcached.sock', ), ); | |
define( 'WP_SITEURL', 'https://example.com' ); | |
define( 'WP_HOME', 'https://example.com' ); | |
define('WPLANG',''); | |
# WP Engine ID | |
# WP Engine Settings | |
# That's It. Pencils down | |
if ( !defined('ABSPATH') ) | |
define('ABSPATH', dirname(__FILE__) . '/'); | |
require_once(ABSPATH . 'wp-settings.php'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment