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',         'h*M:~U65M@KVq&t|*VZT!#3DSlAzfh@JZaBdi#GN,?jO-0Cu%)(:)S`_Pub8+?U7');
define('SECURE_AUTH_KEY',  '8|cKGZ++ZvvnV6d1P^C`<7TLlix4 33rl-{D!RjLvFl`l9)PIL~tH4aMgj3e%|E*');
define('LOGGED_IN_KEY',    ')UQr|;.u-T)27:J%ltWRT;<:PVO-ndQ+L!TWO+jS*t1*.f#{Bn0PO%E(e-X1;`w[');
define('NONCE_KEY',        '.9#EFI7-=}wTma|rgLIxktaM$22Eo;xL[-xQN#!j))KY@bWeo0S)m}i>_>t5T++q');
define('AUTH_SALT',        '+V1~}sn[=JW&s?ojuu|DK%x*Vqlf>LKY.`m,$M~=(5$A$CB(L&);R+.ep 0HN-s(');
define('SECURE_AUTH_SALT', '1GgLtC!xa)FtRb:D~mXYGv-{jWU|NYe8*@y*Z0jtt]r?u*S5D-|~1*5iBv0M|Q#|');
define('LOGGED_IN_SALT',   'r6F1KV00gI)`csRv;+ZG][*anv?4LQQ?eUakL]Q2J;B$-%(#M/Y,lt]K;2I_TZX!');
define('NONCE_SALT',       '?{.4%-nm!7P0)Ht.WZi!QKcjHLnJST!e|U)];pia?[- 3_WPF076&k(oHD~tDMau');

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.