Created
September 22, 2020 16:29
-
-
Save nathaningram/8b95638d70c608b0a9d159b14029f32b to your computer and use it in GitHub Desktop.
Sample wp-config.php File for Page Builder Summit
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 | |
/* 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' ); | |
$table_prefix = 'wp_'; | |
/* WordPress Core Options */ | |
define( 'WP_SITEURL', 'https://google.com' ); | |
define( 'WP_HOME', 'https://google.com' ); | |
define( 'CORE_UPGRADE_SKIP_NEW_BUNDLED', true ); | |
define( 'WP_CACHE', false); | |
define( 'WP_DEBUG_LOG', false ); | |
define( 'WP_DEBUG', false ); | |
/* Authentication Unique Keys and Salts. */ | |
/* Get this at 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' ); | |
/* Security */ | |
define( 'FORCE_SSL_LOGIN', true ); | |
define( 'FORCE_SSL_ADMIN', true ); | |
define( 'DISALLOW_FILE_EDIT', true ); | |
/* Post and Media Options */ | |
define( 'WP_POST_REVISIONS', '5' ); | |
define('AUTOSAVE_INTERVAL', 120 ); | |
define( 'MEDIA_TRASH', true ); | |
define( 'IMAGE_EDIT_OVERWRITE', true ); | |
/* PHP Memory */ | |
define( 'WP_MEMORY_LIMIT', '64M' ); | |
/* 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