Enable Multisite

WPTurbo » Snippets » Enable Multisite
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_user' );
/** 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',         'BrAa-%Fj|+5!O|Nn_HY26-6T-W668 cy7`Ew:d-toNTFb=ghTJKBSUjVx-:-x([?');
define('SECURE_AUTH_KEY',  'AX=;8iX<K{6HA^il8{=]dC-2L)L%u7WiRtn5($p?-aa*pb9:8>>#,-Q{E/dYJB=3');
define('LOGGED_IN_KEY',    'mZk=A7CR2pN}7d?eKE-8wp]E@}=3 004;qj@|9@tO{Rc7JC&,NB<[Bs-t8)1@LL9');
define('NONCE_KEY',        '9nsf)?s(c#0$<)+Uj}iHo$t=JH#i8_Oo+NS)*f+7P(*$$WaL|hr+;=D3]Li6vv_L');
define('AUTH_SALT',        'SfW|CTir2R}W>@m*qXzJe].kqZuX-Kz5+qxm=fl,iaHA3C;Ca)J(om&9S[yG^HAy');
define('SECURE_AUTH_SALT', 'cnVLKl8[t(zNcS+BNZ&&S,lim#lO O>JSf.OG(3A#L>X90SJGV%AP:,{qhF$OcxY');
define('LOGGED_IN_SALT',   'ely!SxV([sx#w|+.YG}P|J/5!t8wUZ|!wu8WU_%Bu`{~|)oZN!i mM+.18E5~TH!');
define('NONCE_SALT',       'xQNqqX=&B1Fq{]#sEV~~1Ir|zY=:K3BmFSCzo?k:[Bi@-OM-2j|O`n$lu2ha/2lV');


/* Multisite Settings */
define( 'WP_ALLOW_MULTISITE', TRUE );


/* 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.