Setting up WordPress Multisites Tutorial

| WordPress
Setting up WordPress Multisites Tutorial

WordPress 3.0 saw the addition of a wonderful new feature - multisites. What are multisites? They allow you run multiple blogs from just one WordPress installation. Each blog can have different users, different themes and different plugins.

This is possible because the old WPMU (WordPress Multi-User) project was merged into the main WordPress system. This is the same codebase that allows WordPress to run millions of sites, so you can be sure it works well.

In order to set this up, you will need access to your files so that you can edit them. This tutorial will show you how. When you've finished, click here to read Part 2 of this tutorial: Managing WordPress Multisites

Step #1. Change wp-config.php

  • In your site files, browse to wp-config.php and open that file.
  • Scroll right to the bottom until you find this line: /* That's all, stop editing! Happy blogging. */
  • Just ABOVE that line, enter this line: define('WP_ALLOW_MULTISITE', true);
  • Save that file.
  • Login to your WordPress admin panel. Hopefully, you'll be able to click on Tools and see a Network Setup tab has been activated:
Network menu item in tools

Step #2. Configure the Multisite Network

  • Click Tools > Network Setup. You'll see a screen like the one below.

Network setup screen

  • Give a title to your multisite network.
  • Set an admin e-mail address.
  • Click Install

You'll see a screen like the one below. It's going to ask you to complete two more steps to set up your network:

Create a network of WordPress sites screen

Before you proceed with those two steps, a good practice would be to backup some important files.

  • Backup your wp-config.php

05 wp config backup

  • Backup your .htaccess file:

htaccess backup

WordPress is asking you to go back to the same place in your wp-config.php as before and cut-and-paste the code it gives you.

  • Open up your wp-config.php file.
  • Copy the code displayed in your dashboard in this section.
  • Add the code above the /* That’s all, stop editing! Happy blogging. */ line:
Add this code to wp config php

Step 3: Create or Edit an .htaccess File

Finally, you'll need to either create or edit .htaccess file.

  • Open the file and paste the code, displayed in section 2 of the Enable the Network screen: 

Edit htaccess

  • Once finished, log out and log in back to your site dashboard. You should now see the My Blog link has been replaced by My Sites.
  • Point your mouse on My Sites. You will notice the Network Admin drop-down menu:

Dashboard before multisite network installation

Woohoo! You've successfully set up WordPress multisites. Now, click here to read Part 2 of this tutorial: Managing WordPress Multisites.