Skip to content

Instantly share code, notes, and snippets.

@rahulvramesh
Created April 10, 2019 07:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rahulvramesh/dd06bf9708130c789402730d470cb043 to your computer and use it in GitHub Desktop.
Save rahulvramesh/dd06bf9708130c789402730d470cb043 to your computer and use it in GitHub Desktop.
wp-config.php
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://codex.wordpress.org/Editing_wp-config.php
*
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'cms_blog');
/** MySQL database username */
define('DB_USER', 'cmsblog');
/** MySQL database password */
define('DB_PASSWORD', 'c8kS?5drp_GPV9MMEny95trc');
/** MySQL hostname */
define('DB_HOST', 'wpweb.c0oj4yjqk3rr.ap-southeast-1.rds.amazonaws.com');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define('AUTH_KEY', '5ed44ebc9fba7c0bb35df65996b989b0073d9070');
define('SECURE_AUTH_KEY', '7c7995990f1991fd2e565af0867afa83010ac9a8');
define('LOGGED_IN_KEY', '5b9d783fef5abb0385612f49db0e6108f21eb89c');
define('NONCE_KEY', '299bbf25e16dacb95c9527defc7a4f9cb6402a0b');
define('AUTH_SALT', '010b1562c2905be6a57244c467e63fa2bb8d1538');
define('SECURE_AUTH_SALT', '5d606e2dd81db440750e011e6f501ccd38c344c6');
define('LOGGED_IN_SALT', '93c6077af942b03da3b4aff07b078e65a636ac78');
define('NONCE_SALT', 'f3e0149f26cb79bb8c09355bef0761b5db3de6df');
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);
// If we're behind a proxy server and using HTTPS, we need to alert Wordpress of that fact
// see also http://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
$_SERVER['HTTPS'] = 'on';
}
/* That's all, stop editing! Happy blogging. */
/** 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