How to enable multi user support in WordPress 3.0

Since version 3.0, regular WordPress and WordPress MU are merged into WordPress 3. All betas of WP 3.0 had Site Admin section in backend (even if upgraded from regular WordPress), but since RC and final release this option disappeared. It is a hidden part of WordPress 3.0 and has to be activated manually with a a few edits to a WordPress installations wp-config.php file. You need FTP or shell access to do it.

Follow the simple 10 minutes max. instructions to activate Multi User functionality in your WordPress 3.0 installation:

  1. Disable all plugins. You can re-enable them after multi-site has been configured.
  2. Activate the multi-site features of WordPress 3.0 by adding this line of code to your wp-config.php file:
    /** Enable or disable Worpress Multi-site features **/
    define('WP_ALLOW_MULTISITE', true);
  3. Refresh your Dashboard then visit Tools -> Network. You will see a screen that looks similar to the one in the picture below. Read onwards before you make any configuration changes.
  4. If you want to install your additional blogs on sub-domains instead of sub-directories you will need to create a wildcard DNS record on your server to enable the virtual host (sub-domain) functionality of WordPress 3.0. Your server must support wildcard DNS records for you to do this.
  5. You need to install the now activated WordPress 3.0 Network settings
    • Find the Network settings page in your WordPress admin panel (Tools -> Network)
    • Choose whether you want to use sub-domains or sub-folders for the additional blogs
    • Type a name for your network of sites
    • Set your admin email address
    • Click “Install”
  6. After a minute or two you will be presented with a configuration screen. Back up your .htaccess and wp-config.php files before you proceed to follow the instructions provided on that configuration screen.
    • As a precautionary measure to prevent visitors of non-existent sites from being greeted by 404 error messages, redirect them to a URL of your choice by adding the below code to the bottom your wp-config.php file:
      /* Send visitors to non-existent blogs here */
      define( 'NOBLOGREDIRECT', 'http://yourdomain.com/' );

      change http://yourdomain.com/ to the main blog you want to redirect to.

    • Log out then log back in.
  7. You will now need to go through your settings to enable or disable the new options provided by WordPress Multi Site.

Be careful when adding plugins!

Not all WordPress plugins are Multi Site compatible. If you activate an incompatible plugin you could kill your network of sites!

To fix a broken network try deleting the folder of the plugin that caused the outage from /wp-content/plugins/.

7 thoughts on “How to enable multi user support in WordPress 3.0

  1. Pingback: JournalXtra

  2. Chris

    Hey is that a plugin you are using that enables you to display code in those code boxes?

    If so can you tell me the name of it?

    Thanks
    Chris

    Reply
    1. admin Post author

      I’m currently using Google Syntax Highlighter for WordPress, but don’t really like it, going to switch to some another plugin soon.

      Reply
  3. Yaser

    Hi
    I’ve been searching the net, and read your post up and read the rest as well. I have a question about creating a blog where i can only allow users who give their profile details to register (that might include, name, nick, telephone, email and some required fields). How to do that on WordPress- is there any widget or plugin?

    Reply
  4. Wabber

    You’d think they’d make it easier to activate the MU functionality 🙁 Do we still need to do this for WP 3.1?

    Do you know if the All-in-one seo plugin is compatible with MU? Thanks

    Reply
  5. Pingback: Create Multiple Sites with One Wordpress Installation | Hxnis.com

Leave a Reply

Your email address will not be published. Required fields are marked *