But if you do want to run more than one WordPress website, there is an easier way, and that’s WordPress Multisite.
In this post, I’m going to explain exactly what WordPress Multisite is, work through some of its benefits, and show you how to activate and manage a Multisite network from your existing WordPress installation.
WordPress Multisite is a configuration for WordPress that lets you run more than one website on one installation of WordPress. In short, it creates a network of sites on your WordPress installation.
Once you’ve got it set up, you can add as many sites as you like, and they can be as similar or different as you want them to be.
If you’ve ever used wordpress.com, you’ll have seen Multisite in action. WordPress.com is one vast Multisite network with millions of users. Your network needn’t be that large!
WordPress Multisite has plenty of benefits:
When you activate WordPress Multisite, you’re provided with some extra screens for managing the network — the network admin screens. You use these screens to create new sites, install and update plugins and themes, manage users on the network and manage the sites.
WordPress Multisite can be used for a variety of purposes:
In all of these cases, WordPress Multisite will make things simpler than installing multiple instances of standalone WordPress.
To activate WordPress Multisite, you’ll need an existing WordPress installation. This could be a brand new one, or one you’ve already been using — it doesn’t matter.
To start, open up the wp-config.php file in your site’s top level folder. You can access this via File Manager in your control panel, or by using a code editor with FTP access to your site.
In your wp-config.php file, find this line:
/* That's all, stop editing! Happy blogging. */
Immediately above it, add this line of code:
define( 'WP_ALLOW_MULTISITE', true );
Now save your file.
Go to your site admin in your browser. Then go to the Network Setup screen that will have been created for you (via Tools > Network Setup).
You’ll see a screen which asks how you want your network to be set up, using subdomains or subdirectories.
Using subdomains means each site will have a URL like https://site1.yournetwork.com. This is best if you want to allow other people to create sites on your network. If you do allow users to create site, you’ll need to set up wildcard subdomains in your control panel.
If you choose subdirectories, each site will have a URL like https://yournetwork.com/site1. If your site has been running for more than a month, you won’t have this option: you’ll have to use subdomains. This is to ensure there aren’t any clashes between the URL of any new sites you create on your network and any existing content you’ve got on your site.
If you’re given the option, select which one you want to use. Enter the title and admin email address of your network in the relevant fields and click the Install button.
You’ll be taken to the Network Setup screen. This screen will contain some code that you need to copy and paste into two files: the wp-config.php file, and the .htaccess file.
Open the two files in your code editor or using File Manager in your control panel. Paste in the code from this screen, making sure you overwrite anything it tells you to. Note that your code will be different from the code in the screenshot above, as your site is different from mine. Copy exactly what you’re given.
Note: It’s a good idea to make a backup of the files before you do this, just in case!
Now save and close those two files. Go back to your site admin and click the link in the Network Setup screen to log in to your network. Use the same login credentials you’ve always used.
You’ll now find that your admin screens have changed a little. You’ll have a new item in the toolbar at the top called My Sites, and another called Network Admin.
Hover your mouse over the My Sites link, and you’ll see a new menu which takes you to the network admin screens. Click the Dashboard link to be taken to the network dashboard:
This dashboard looks very similar to the dashboard for a standard WordPress site. There won’t be any blog posts, Quick Edit, or anything relating to content on display — because the network doesn’t have any content. That’s all stored in the individual sites.
You’ll also notice that the admin menu on the left is different. You’ll have a new item called Sites, which gives you access to site creation and management.
Let’s start by creating a site and configuring it.
There are two ways to create a new site on WordPress Multisite: from the network admin screens and from the front-end of the site. Let’s start by creating a new site via the network admin screens.
From the network admin dashboard, click the Sites link in the left hand menu. This will display a list of the sites in your network. You can see the sites I’ve already created in my network below, but when you’ve just activated Multisite, this screen will just show one site: the base site.
To create a new site, click the Add New button. This will take you to the Add New Site screen:
Fill in the fields with the details of the new site and hit the Add Site button. When you go back to the Sites screen, your new site will be displayed. If you hover your mouse over its name, you’ll have a few links:
The most useful option at this stage is Edit. Click on that to see the site editing screens.
Here’s an example from an existing site on my network:
From this screen, you can change the main settings for the site, such as its domain name and title. If you’ve got a dedicated domain name for that site and it’s pointing at your network, then you can add it here and the site will look to visitors like it’s a standalone site on that domain name — they’ll never see the network’s domain name.
You can also access the Themes screen where you can specify which themes will be enabled for this site. Depending on the way your network works, you might want to just enable one theme for each site, or you might want to enable all themes for all sites. I use a network for client sites, so I just enable the theme I’ve developed for the relevant site in each case. But if you were running a network like wordpress.com, where users can sign up and create their own site, you might want to network-enable all of the themes.
We’ll take a closer look at how you manage themes and plugins in your network in a bit, as it’s different from a standard WordPress site.
I mentioned above that people can also create a site from the front-end of your main site, They do this by going to the signup page at yournetwork.com/wp-signup.php, where yournetwork.com is the domain name of your main site (the one you started with).
This displays a screen allowing someone to either log in with an existing user account and create a site, or to create both a site and a user account at the same time:
If you don’t want to enable this, and just want to create sites yourself via the admin screens, you can disable signups. Just go to Network Admin > Network Settings and select the Registration is disabled radio button.
The way you manage themes and plugins is different in a Multisite network than in a normal WordPress site.
The main difference is that site admins can’t install or update themes or plugins. This is an important security feature, as you don’t want your users installing code that might make your network vulnerable.
To install plugins, go to Network Admin > Plugins > Add New and install the plugin in the normal way. For themes, go to Network Admin > Themes > Add New.
Themes need to be enabled across the whole network or for individual sites and then activated by the site admin for each site. Plugins can be network activated or activated on a per-site basis by the site admins. Some plugins, such as security and backup plugins, are designed to work with the entire network, so you’d want to activate them for all sites. Others, such as social media plugins or e-commerce plugins, will only be relevant to individual sites.
Once you’ve installed a plugin, it’s available for all site admins to activate on their site. If you network-activate a plugin, they can’t switch it off.
Updating themes and plugins is also done by the network admin. As any updates will potentially affect multiple sites on your network, I recommend testing on a development installation of your network first, either on your local machine or on a staging server.
I’m a big fan of WordPress Multisite. I use it to host my own sites as well as client sites, and it saves me a lot of time and effort keeping sites up to date. When I need to run updates, I only need to do so once on the network instead of doing it on every single site.
And if you want to make money with WordPress, a Multisite network that lets people create their own site by paying a subscription is a great business model.
Activating Multisite isn’t as complicated as you might think: if you run more than one site, why not try using Multisite today?