Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

WP-config MULTISITE

<?php
/**
 * Custom WordPress configurations on "wp-config.php" file.
 *
 * This file has the following configurations: MySQL settings, Table Prefix, Secret Keys, WordPress Language, ABSPATH and more.
 * For more information visit {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php} Codex page.
 * Created using {@link http://generatewp.com/wp-config/ wp-config.php File Generator} on GenerateWP.com.
 *
 * @package WordPress
 * @generator GenerateWP.com
 */


/* MySQL settings */
define( 'DB_NAME',     'pruebas-multisite' );
define( 'DB_USER',     'root' );
define( 'DB_PASSWORD', 'root' );
define( 'DB_HOST',     'localhost' );
define( 'DB_CHARSET',  'utf8' );


/* MySQL database table prefix. */
$table_prefix = 'pm_';


/* Authentication Unique Keys and Salts. */
define('AUTH_KEY',         '9-&VpClH8-+v}:3 #FTk;QvU+|VL})9cxxG%*>i`[|7{mXnHaw0_J2U}+=Oer*/K');
define('SECURE_AUTH_KEY',  '3h|Zhdaj$F#<R`0puUbY{|jIwgd,FH7la*=ZRC%/;e- N+EGZ[6yS)|i^.Lca]`s');
define('LOGGED_IN_KEY',    '|Pl!*$`@[9V?%H8j2{Xs3B:aXH<C1](8vZv-sqq7]u8uy_0+5=Hx]<`B^[6uqk*J');
define('NONCE_KEY',        'E5xhG}~_3|v`XoB{A_K^CpKwWDw-RDp%z3KHL#2yL6lQWk.)vZTC!X;Jo/kX|n?h');
define('AUTH_SALT',        ':s5NB!S*2I!?)8PE&GZn7lhJ8G;sni`AMTT=T14PU%9Y&Yz?TXFX|U[#;jFe^CY}');
define('SECURE_AUTH_SALT', 'ButFn3&C+wP7O^cjfE80%h+YXR`,].*o@JuW@J-9d{oy-`|H< qB^-@YF>08AWi{sx7|[]:jOqWT+]p<@D%W|rTVnOB%G,Q-e$U.UB#w6!');
define('NONCE_SALT',       'rySx=[lSiXvNFj-Jrin|8;+W3#:$C|J+-zNIo=G&zJvc3`Z;?f09m]Jr%5a .nuu');


/* SSL */
define( 'FORCE_SSL_LOGIN', true );
define( 'FORCE_SSL_ADMIN', true );


/* Custom WordPress URL. */
define( 'WP_SITEURL',     'http://localhost/pruebas-multisite/' );
define( 'WP_HOME',        'http://localhost/pruebas-multisite/' );
define( 'WP_CONTENT_URL', 'http://localhost/pruebas-multisite/wp-content' );
define( 'UPLOADS',        'http://localhost/pruebas-multisite/wp-content/uploads' );
define( 'WP_PLUGIN_URL',  'http://localhost/pruebas-multisite/wp-content/plugins' );


/* Specify maximum number of Revisions. */
define( 'WP_POST_REVISIONS', '2' );
/* Media Trash. */
define( 'MEDIA_TRASH', true );


/* Multisite. */
define( 'WP_ALLOW_MULTISITE', true );


/* PHP Memory */
define( 'WP_MEMORY_LIMIT', '256' );
define( 'WP_MAX_MEMORY_LIMIT', '768' );


/* Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
	define('ABSPATH', dirname(__FILE__) . '/');

/* Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');