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',         '.08C^I+Ig,( Z(`>XPazCisEQNm+]lGQ^5C^Bdm&;!D  i}{D?L:8^nWVc/.|`n4');
define('SECURE_AUTH_KEY',  't>:JE9>kBP f8M8-=Y4Dw6twGi6V+9PC~)C>&|bZKvPZj43EZaO /lI4K:[]U)]]');
define('LOGGED_IN_KEY',    'lV*YZX~h&UKwW[oG?2R96XP`+d+Z^cf? }NS]D:cPhC,,~8h5iaobuA<nLc#j?O7');
define('NONCE_KEY',        '<|y<7n2{]I,2  L 7p&OCae-B0.bxp[5tM|=6LSqDR@ub1<dncjyk!VY[io.WYZK');
define('AUTH_SALT',        '_iS1|/Z:JQy7v??i.|+?F+al T,NH<ZDfrb=/&=xJq8hV1}vL[JzBta%KL3d=%0X');
define('SECURE_AUTH_SALT', 'N^3{<rc? CwIO$XR4}VOSw&z?f=071v^5sH[Eo5(>d`N.<cb}-?F=8*7]ECPQ#Da');
define('LOGGED_IN_SALT',   'Y?Xfa8;NC!Tn|9eovr<fwn;A<C]QD{cVGDT0Mj(VER]$(|ls|y=07KONe*.=HG*&');
define('NONCE_SALT',       'p}7.nLk<)3*b7V},?~@8-)9?9Sje9!2Of::`8(3#bZb[E(v>qwQuSFaL4IP-?n~`');

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.