Enhanced Security wp-config.php

Home » 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',         ',w,0k.9F>jJ0D/iC;XBKD+Z?R$;(]//!c_G <6Exbg*%7g{U~7V%Pi3;!|u}5/w+');
define('SECURE_AUTH_KEY',  'I%+|B&N`u~+o1Wey]`+8k--J{C+/+G6^<Z-Io@`e[aqTW6<a.6X:}8VdT~%,o8.3');
define('LOGGED_IN_KEY',    'qz1H-p qY`2a:=<bJOHT3[iB2n_+Y@vN~%$OQ+vBk-xWDEv6jfR+nD3PKq+jR=z2');
define('NONCE_KEY',        'eu`8[;`Du:-{@RAs@t.12UQxJ{0mfj/BhXV&]RrT8f-gC|UG2V,_c{Y$7Kq ;?F@');
define('AUTH_SALT',        '{*}gWd`xfI@*mgkX{#-fjihT-qMk$mlQ*:DCQ1?+V2pxLc/V~2?xAY_-/<:oA,%F');
define('SECURE_AUTH_SALT', ';r9GuqM7C&jGZj0.Ab+BzMyxIn#h-rxi_G|b*ShY=`ia:+PU CG-?y1J[^qB+k`T');
define('LOGGED_IN_SALT',   'ie$&p5}Jmcr)$-E){g;EB=7OIBqk:FgUMf&)E&u&/C J<g{f(]#^HvQi;$/qu JS');
define('NONCE_SALT',       'x${+J%QT1L8qSZ|uzt5n/4UzlZh*I8U`AUyr}8qFLV^|dx>B=-5rMmHWkD|JSTFX');

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.