Multisites allow you run multiple websites from just one WordPress installation. Each website 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.com 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:
- 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:
Step #2. Configure the Multisite Network
- Click Tools > Network Setup. You’ll see a screen like the one below.
- 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:
Before you proceed with those two steps, a good practice would be to backup some important files.
- Backup your wp-config.php
- Backup your .htaccess file:
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:
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:
- Once finished, log out and log in back to your site dashboard. You should now see that 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.
Woohoo! You’ve successfully set up WordPress multisites. Now, click here to read Part 2 of this tutorial: Managing WordPress Multisites.