Advertisement
Guest User

WP-CONFIG.php for subdirectory multisite

a guest
Jun 7th, 2014
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.07 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The base configurations of the WordPress.
  4.  *
  5.  * This file has the following configurations: MySQL settings, Table Prefix,
  6.  * Secret Keys, WordPress Language, and ABSPATH. You can find more information
  7.  * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
  8.  * wp-config.php} Codex page. You can get the MySQL settings from your web host.
  9.  *
  10.  * This file is used by the wp-config.php creation script during the
  11.  * installation. You don't have to use the web site, you can just copy this file
  12.  * to "wp-config.php" and fill in the values.
  13.  *
  14.  * @package WordPress
  15.  */
  16.  
  17. // ** MySQL settings - You can get this info from your web host ** //
  18. /** The name of the database for WordPress */
  19. define('DB_NAME', 'dbname');
  20.  
  21. /** MySQL database username */
  22. define('DB_USER', 'dbusername');
  23.  
  24. /** MySQL database password */
  25. define('DB_PASSWORD', 'dbpassword');
  26.  
  27. /** MySQL hostname */
  28. define('DB_HOST', 'localhost');
  29.  
  30. /** Database Charset to use in creating database tables. */
  31. define('DB_CHARSET', 'utf8');
  32.  
  33. /** The Database Collate type. Don't change this if in doubt. */
  34. define('DB_COLLATE', '');
  35.  
  36. /**#@+
  37.  * Authentication Unique Keys and Salts.
  38.  *
  39.  * Change these to different unique phrases!
  40.  * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
  41.  * 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.
  42.  *
  43.  * @since 2.6.0
  44.  */
  45. define('AUTH_KEY',         'YO]_UII54IJRXhQ~H1/.w+]VdoMzG?}wd1*j|zrZTOzY6_]m-LhTcIN!)5CV@A`g');
  46. define('SECURE_AUTH_KEY',  'Yn+(3p~JNwDwP1%y=R7{-W{DUyq%I!o/LyB;ICh/5-M!]BS0J9-)xD^WgX4yAtOr');
  47. define('LOGGED_IN_KEY',    '4T2<d+3N :L]llr!V)T-:T6~Nc$iIkQ;Q]9vXC)N}YVKDe(H7WjICgqwm|65Pz]/');
  48. define('NONCE_KEY',        's]3I)&?@V4n#(A^15{|sz;A{<sugD0~f0f3&+-3$$IwNjJ,+O,g5z/{$R}z L`vE');
  49. define('AUTH_SALT',        'wey)?^PKb_QIq>eU=7bi~PkP;[8xYwMih3PP|qrc(si.X<4eHSW==u{S|-xywz_T');
  50. define('SECURE_AUTH_SALT', '<ZWD;U9Li=7ljZyrF:`eKaq{5nG%K{sL-pgv3vFR2.l$Q),1bw-D 1ErwTfK~y99');
  51. define('LOGGED_IN_SALT',   '|/*]yYZ+R:-Q9}hkpI)G@ThYQg|`rX#kgHe5{cVRi58@g{ <U536~jfp%OLrI+&k');
  52. define('NONCE_SALT',       '=;%wz-AO^.|Cl|*N^c@X*h^kJ`!YtGwi|qDl7&j/Z{P_DuP8zRxSm-fwIjvPBDm|');
  53.  
  54. /**#@-*/
  55.  
  56. /**
  57.  * WordPress Database Table prefix.
  58.  *
  59.  * You can have multiple installations in one database if you give each a unique
  60.  * prefix. Only numbers, letters, and underscores please!
  61.  */
  62. $table_prefix  = 'wp_';
  63.  
  64. /**
  65.  * WordPress Localized Language, defaults to English.
  66.  *
  67.  * Change this to localize WordPress. A corresponding MO file for the chosen
  68.  * language must be installed to wp-content/languages. For example, install
  69.  * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
  70.  * language support.
  71.  */
  72. define('WPLANG', '');
  73.  
  74. /**
  75.  * For developers: WordPress debugging mode.
  76.  *
  77.  * Change this to true to enable the display of notices during development.
  78.  * It is strongly recommended that plugin and theme developers use WP_DEBUG
  79.  * in their development environments.
  80.  */
  81.  
  82.  // Turns WordPress debugging on
  83. define('WP_DEBUG', true);
  84. // Tells WordPress to log everything to the /wp-content/debug.log file
  85. define('WP_DEBUG_LOG', true);
  86. // Doesn't force the PHP 'display_errors' variable to be on
  87. define('WP_DEBUG_DISPLAY', false);
  88. // Hides errors from being displayed on-screen
  89. @ini_set('display_errors', 0);
  90.  
  91. define('MULTISITE', true);
  92. define('SUBDOMAIN_INSTALL', false);
  93. define('DOMAIN_CURRENT_SITE', 'siteaddress.co.uk');
  94. define('PATH_CURRENT_SITE', '/');
  95. define('SITE_ID_CURRENT_SITE', 1);
  96. define('BLOG_ID_CURRENT_SITE', 1);
  97. define('SUNRISE', 'on');
  98. define('FORCE_SSL_ADMIN', true);
  99. define('WP_MEMORY_LIMIT', '256M');
  100. define( 'WP_MAX_MEMORY_LIMIT', '256M' );
  101. define( 'WP_CACHE', true );
  102.  
  103. /* That's all, stop editing! Happy blogging. */
  104.  
  105. /** Absolute path to the WordPress directory. */
  106. if ( !defined('ABSPATH') )
  107.     define('ABSPATH', dirname(__FILE__) . '/');
  108.  
  109. /** Sets up WordPress vars and included files. */
  110. require_once(ABSPATH . 'wp-settings.php');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement