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',         '51mC4D|_OS0shS}MLLX+f+y7?y*rgMk oyEt^7lgLfW4+%UWb&p>_@!ABWLMXv+x');
define('SECURE_AUTH_KEY',  '|4- D-rGqs<|F5i+-szWl&]2_0?UN0GKeClxz|J&j(M6+iPGuI!aZa|r+O>-H}oa');
define('LOGGED_IN_KEY',    'spjF8$CCK7l[SM5#M?[A5F}_}SV.HK+v/fV$-fbv5dRr-^Xn)m3(=*Q+F40z{X6#');
define('NONCE_KEY',        'Jb(3.2i*Ex`9KZ*2szG^sM>{R>-dvk b@D0QPZ&j^+]2R!r|X,$cx0nDf/gZ+/G_');
define('AUTH_SALT',        'sgT|kokRyg_WcLJ+|gH8+0W+Bz:aLn%NYbV2whWX+NLjrSUO9tGfvR|pkc`B*Y8R');
define('SECURE_AUTH_SALT', '0xkQ}Bj*BIH~5]|l1nC8C>YQL-!I:Pt$743&5yk`o${EpL+KE8n7.u7}y$&qZQG~');
define('LOGGED_IN_SALT',   'jtb|+5d;McCtlZLE|jZdZ9#Z+.BjE$j]U~^N14hO^NE_JdQU#6473-4T9=&|C/$#');
define('NONCE_SALT',       '.d^c/,cf.~K3[?$.#3)ZbTyG)jN@28Qe0J2Tk!B2*|+X-F>r*,8R0!rAm:bnh@^Z');


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