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',         '0srDo+ERh$a;w55].djzh+1J=?`.Pw|u>Nmo]q60EVg)o8-BWq`2gV9MYAgHTXAZ');
define('SECURE_AUTH_KEY',  '8&;1eFiZ-VwHZZNxFeg1#tFvm}_-yX|B+N4VSi-L&!f:VD)r514+A~1rRkxajH:c');
define('LOGGED_IN_KEY',    'bl^D`)2t:|d:1KL5Y>SU7f};y9TXVdxJIIMFgf3Z&9.G$S2hgYk=$:`+rd1cm^zo');
define('NONCE_KEY',        '=i][qc6ic&(odY1:,0i0J^hR@#U|Lmjhr`]_6euTb|bMBu0-~rWAMUnb*7Ke:b-B');
define('AUTH_SALT',        'Ggr{{;[0)0Evr dxV@~kR9U;_5e$Sc(PpA&o7%XD;V9 jxU8:|z*0E[ut8s&&UJJ');
define('SECURE_AUTH_SALT', 'Ty8KZk#,nd&NiAK~;Y*(6cAVZ9hrRz_Gw~`oX(vHWV]/(Z]em9A~ClF(72h96J;H');
define('LOGGED_IN_SALT',   'RN/,+$2R1ZOM@fttA}W+yl!8t2G8%!;)t)XEd!$v<uK(1y8mHrnHXUtvHW-aBX3U');
define('NONCE_SALT',       '.Z(XPbeu(sNDr-hqfzRP]q&Gmi3v+!3kpe)Nm.*+_l+IhP$2[Z@D7gA99|VEd/e#');

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.