Enhanced Security wp-config.php

WPTurbo » Snippets » Enhanced Security wp-config.php
0

Created with:

WP Config Generator

Visibility: 

public

Creator: WPTurbo Team

Customize with WPTurbo AI
X

Add Snippet To Project

New Project
Add To Existing Project
				/**
 * 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://wordpress.org/support/article/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', 'wordpress' );
/** MySQL database username */
define( 'DB_USER', 'db_username' );
/** MySQL database password */
define( 'DB_PASSWORD', 'db_password' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
/** The Database Charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );


/* Prefix For All Database Tables */
/**
* 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_';


/**#@+
* 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',         'V7aI9>yf&eAT9xdHm-ln7kQvdq1y=V4|d{84-K:^Bo>W[EDTaSmzjJr9 ~+TD7v.');
define('SECURE_AUTH_KEY',  '*I]Z$+|,J*z-N#+~$;6IBK+h@5FloH>pc46B1#}|r2*>.0C]cH-UqBd=,zp*90)o');
define('LOGGED_IN_KEY',    'eqQQA8(>=vX@=:I!>5|g6yDPa6ob,YcQtRL1`rpXuiz7^S+o+Hu2#-<EcB`3,aQv');
define('NONCE_KEY',        'nzh N+6~~q{pgd;5Z*NcSMocWaB&vg;UXwj@(9m-gnx-Ypt)^Rhs+F2P.XYZSdpZ');
define('AUTH_SALT',        '|+4vEj#$#OOGbxdz 66,Gc->YA9zu-#1fUR9T0<r+J;~9-Vz}]gx~W{5qSu.,A>M');
define('SECURE_AUTH_SALT', 'vn`?,)G5h[&i4}+<J1Z$QwjlQxZA%@8l[BwGx#;;_7@hPlEpw`lEP@wBA_%ra4tH');
define('LOGGED_IN_SALT',   '7+J<yPF# d|r %=jR>NafH(6w7=E]OfotDcq{1f5%5|mPUkMr ^6[q}D@he9NuCq');
define('NONCE_SALT',       'jq!)Et+HxjrPfj+H30Kv3_s$||&<={Soclw*y4-*GU#<$#i@dMU^B bLV(4or^;B');

define( 'FORCE_SSL_LOGIN', TRUE );
define( 'FORCE_SSL_ADMIN', TRUE );
define( 'FTP_SSL', TRUE );


/* DEBUG MODE Settings */
define( 'WP_DEBUG_DISPLAY', FALSE );


define( 'DISALLOW_FILE_MODS', TRUE );


define( 'DISALLOW_FILE_EDIT', TRUE );


/* AUTOMATIC CORE UPDATES */
/* DISABLE ALL CORE UPDATES */
define( 'WP_AUTO_UPDATE_CORE', FALSE );


/* Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
  define('ABSPATH', __DIR__ . '/');
/* Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');

			

Register an account to save your snippets or go Pro to get more features.