[wp-hackers] Multisite options

Paul Menard paul at codehooligans.com
Mon Jan 20 20:13:09 UTC 2014


Mike

Actually you do know that 'MULTISITE' is define. When you enable Multisite
on a regular WordPress install it is one of the new settings you are
instructed to add to your wp-config.php.
http://codex.wordpress.org/Create_A_Network see step 4.

MULTISITE is a PHP define you can check using is_defined('MULTISITE').

Paul




On Mon, Jan 20, 2014 at 3:10 PM, Paul Menard <paul at codehooligans.com> wrote:

>
>
>
> On Mon, Jan 20, 2014 at 11:07 AM, Mike Burns <mike at grady-etc.com> wrote:
>
>> A fresh install of WPMU used `wp_1_` for the first blog prefix.  When the
>> single / MU codebases merged in WP 3.0, a fresh install used `wp_` for the
>> first blog prefix.  When converted to multisite (
>> http://codex.wordpress.org/Create_A_Network), `wp_2_` was used for the
>> next blog, so on and so on.
>>
>
> Actually that is not accurate. The first install (http://somesite.com)
>  has prefix 'wp_'. This is the initial installed site which is also the
> database used by the Network. When you enable Multisite you will see all
> the network table have the same base prefix 'wp_', Then when you create a
> new blog (http://site1.simesite.com) it will have the prefix wp_1_, then
> the next (http://site2.somesite.com) will have prefix wp_2_
>
> P-
>
>


More information about the wp-hackers mailing list