A Complete Guide To WordPress Multisite
WordPress Multisite is a popular feature of WordPress, which enables you to create and run multiple websites using the same WordPress installation on your server. In other words, you can manage several different WordPress websites from a single dashboard.
However, people are sometimes unsure of how to use this feature. This guide will help to clear up questions related to what WordPress Multisite is, who needs it, and how to install it.
Let’s start with the basics.
1. What Is WordPress Multisite?
WordPress Multisite is a feature that allows you to create and run multiple WordPress websites from a single WordPress dashboard. It was previously called WordPress Multi-User or WPMU. WordPress Multisite is not a new feature. It is an advanced feature on the WordPress platform that has been around since the launch of WordPress 3.0. You can use it for a variety of purposes, such as updating all of your websites with a single click or charging your subscribers to create a website on your Multisite network.
2. Key Features Of WordPress Multisite
WordPress Multisite comes with various unique features. For starters, you can run a network of blogs and websites from a single WordPress installation. It enables you to create a network of subdomains, like
http://john.example.com, or directories, like
http://www.example.com/john/. Alternatively, you can also have a separate domain for each website on the network. It is also easier to replicate functionality across a network of websites.
In WordPress Multisite, you can control the entire network as a Super Admin. As a regular website admin, you can control only one website on the network. As a Super Admin, you control the accessibility of users who want to create an account and set up WordPress blogs or websites of their own.
A Super Admin can install new themes and plugins, make them available to the websites on the network, and also customize the themes for all websites. Another feature is the ability to create websites and online shops intended for specific languages, regions, and currencies.
Both the Super Admin and the website admin can control content. While this control extends over the entire network for a Super Admin, the website admin has the right to choose which content from the main domain gets displayed on their respective website. Plugins are also under the control of a Super Admin. However, a website admin can activate and deactivate plugins on their website if required.
3. Who Should And Shouldn’t Use WordPress Multisite?
Although WordPress Multisite offers several features, it is not always the right choice. The main concern is that the websites on a Multisite network would share the same database. In other words, you can’t back up only a single website. That’s why all of the websites on a network must belong to the same principal domain.
Let me explain with an example. A university could use WordPress Multisite to build different websites for each department, for student and faculty member blogs, and for forums. Because the websites would share their database with the university’s main domain, they would be easier to manage on a Multisite network.
Likewise, banks and financial institutions with a national or global network of branches, digital publications with multiple content sections, government offices with multiple departments, hotel chains, stores with multiple outlets, e-commerce companies, and website design companies such as Wix could also use a Multisite network to their advantage.
However, a web designer couldn’t use Multisite to manage several unrelated client projects. If one of the clients decided to move their website elsewhere, it would be a problem because the website would be sharing its database with others on the network. Multisite makes it difficult to back up an individual website on the network. You would be better off using a single installation in this case.
4. Pros And Cons Of WordPress Multisite
Now that we know who should and shouldn’t use WordPress Multisite, let’s look at the technical pros and cons. You’ll need to weigh them carefully before making a decision.
- The main advantage is the ability to manage multiple websites from a single dashboard. This is useful if you are running multiple websites managed by different teams under one parent domain, such as an e-commerce store with different country-specific sub-sites.
- However, you can also assign a different admin to each website on your network.
- With a single download, you can install and activate plugins and themes for all of the websites on your network.
- You can also manage updates with a single master installation for all of the websites on your network.
- Because all of the websites share the same network resources, they will all go down if the network goes down.
- A sudden increase in traffic to one website will affect all others on the network. Unfortunately, beginners often find it difficult to manage traffic and server resources on a Multisite network.
- Similarly, if one website gets hacked, the entire network will get compromised.
- Not all WordPress plugins support a Multisite network.
- Likewise, not all web hosting providers have the tools necessary to support a Multisite network.
- If your hosting provider lacks the server requirements, you won’t be able to use the Multisite feature. For example, some hosting providers might not allow you to add a domain to the same hosting server. In that case, you might need to change or upgrade your hosting plan or change providers.
5. Requirements For WordPress Multisite
Knowing the technical pros and cons, you must have decided whether Multisite is the right option for you. If you are going to use it, you will need to meet a few technical requirements first.
One of the first things you will need is a web hosting service provider that can handle multiple domains in a single web hosting plan. Although you could use shared hosting for a couple of websites with low traffic, you should use VPS hosting or a dedicated server, owing to the nature of the WordPress Multisite network.
You will also need to have the fundamental knowledge of how to install WordPress. It would be an added advantage if you already have a WordPress installation. However, you will need to back it up. You will also need to deactivate all of the plugins.
Make sure you have FTP access. You will need to know the basics of editing files using FTP as well. Finally, you will need to activate pretty permalinks. In other words, your URLs should look not like
http://example.com/?p=2345, but like
6. Multisite Domain Mapping
By default, you can create additional websites on your Multisite network as subdomains or subfolders of the main website. They look like this:
or like this:
However, you might not always want this, because you will be required to create a unique domain name for each website. That’s where domain mapping comes to the rescue. You can use this feature within the Multisite network to map additional websites to show as
domain.com. Using domain mapping, this is what you will see:
subsite.network.com = domain.com
network.com/subsite = domain.com
Prior to WordPress 4.5, you had to use a domain mapping plugin to map the additional websites. However, in version 4.5+, domain mapping is a native feature.
7. Multisite Hosting And SSL
As you probably know, Secure Sockets Layer (SSL) enables you to transport data over the internet securely. The data remains undecipherable to malicious users, bots, and hackers.
However, some hosting providers offer free SSL certification for the main domain only. You might need to buy it separately for each subdomain. If one of the websites on your multisite network lacks SSL certification, it will compromise the security of all the other websites. Thus, ensure that all websites on your WordPress Multisite network have SSL certificates.
8. Installing And Setting Up WordPress Multisite For New And Existing Websites
First, you will need to install WordPress. Once it’s installed, you will need to enable the Multisite feature. You can also enable it on your existing WordPress website. Before doing so, however, back up your website.
- Use an FTP client or the cPanel file manager to connect with your website, and open the
wp-config.phpfile for editing.
- Add the following code to your
wp-config.phpfile just before the
/* Multisite */ define( 'WP_ALLOW_MULTISITE', true );
wp-config.phpfile back to the server.
Next, you will need to set up the Multisite network. If you are already logged into your WordPress dashboard, refresh the page to continue with the next steps. If not, you will need to log in again.
- When setting up the Multisite network on your existing website, you will need to deactivate all plugins. Go to the “Plugins” » “Installed Plugins” page, and select all plugins. Select the “Deactivate” option from the “Bulk Actions” dropdown menu, and click “Apply”.
- Now, go to “Tools” » “Network Setup”. If you see a notice that you need Apache’s
mod_rewritemodule installed on your server, don’t be alarmed. All leading WordPress hosting providers keep this module enabled.
- Choose the domain structure for websites on your network, either subdomains or subdirectories.
- Add a title for your network.
- Make sure that the email address for the network admin is correct.
- Click the “Install” button.
- You will see some code that you have to add to the
.htaccessfiles, respectively. Use an FTP client or the file manager in cPanel to copy and paste the code.
The set-up is complete. You will need to log in again to access your Multisite network.
9. WordPress Multisite Configuration And Other Settings
Hold on! You still need to configure the network settings, for which you will need to switch to the Multisite network dashboard.
- Open the “My Sites” menu in the admin toolbar. Click the “Network Admin” option, and then click the “Dashboard” option to go to the Multisite network dashboard.
- Click the “Settings” option in the admin sidebar. You will see your website’s title and the admin’s email address. Make sure they are correct before moving on to a few essential configuration settings.
A. Registration Settings
This setting enables you to open your website to user registration and allows existing users to create new websites on your network. Check the appropriate box.
If you check the “Registration Notification” box, you will receive an email notification whenever a new user or website gets registered. Check the “Add New Users” option to enable individual website administrators to add new users to their own websites.
Use the “Limited Email Registration” option to restrict registration to a specific domain. For example, allow only users from your company to register with your website. Likewise, you can also prevent some domains from being registered.
B. New Website’s Settings
Here, you can configure the default options, such as welcome emails and the contents of the first default post, page, and comment, for every new website built on your Multisite network. You can update these settings anytime.
C. Upload Settings
You can limit the total amount of space each website on your network can use for uploads. This will help you to delegate server resources judiciously. The default value is 100 MB. You can also set the type of files that users can add to their websites, such as images, .doc, .docx, and .odt files, audio and video files, and PDFs. You can also set a size limit for individual files.
D. Menu Settings
This setting enables the administrative menu for the plugins section of your network’s websites. Once you enable this setting, users will be able to activate and deactivate plugins, but won’t be able to add new ones. Click “Save Changes” to apply the changes you have made.
10. Resources: Setting Up Themes And Plugins
Because individual website administrators can’t install themes and plugins on their own, you will need them to set up on the network.
Go to “My Sites” » “Network Admin” » “Themes”.
On this page, you will see a list of the themes currently installed. Use the following settings to make your desired changes.
- “Network Enable”: Make the theme available to website administrators.
- “Network Disable”: Disable a theme that you have previously made available.
- “Add New”: Install a new theme on your network.
Change a Default Theme
Add the following code to your
wp-config.php file to change the default theme for new websites (replacing
your-theme with the name of the theme’s folder):
// Setting default theme for new sites define( 'WP_DEFAULT_THEME', 'your-theme' );
Go to “My Sites” » “Network Admin” » “Plugins”.
Click the “Network Activate” option below each plugin to add it to your network. Remember that if you have already enabled the “Plugins Menu” option for website administrators in the “Network Settings”, then admins will not be able to delete or install new plugins. However, they will be able to activate and deactivate existing plugins.
11. How To Add A New Website To The Multisite Dashboard
Go to “My Sites” » “Network Admin” » “Sites”.
Click the “Add New” button.
Fill in the following fields.
- Add the address (URL) for your new website.
- Enter your “Site Title”.
- Enter the email address of the new website’s administrator.
Click the “Add Site” button to finish the process.
12. Google Analytics On WordPress Multisite
You can also generate Google Analytics code for all pages on all of the websites on your Multisite network. If you haven’t already done so, create a Google Analytics account, and sign into it.
- Start by creating a property to set up a Google Analytics ID. You will need this ID to install your global site tag (
- Next, find your Google Analytics ID in the “Property” column of the relevant account in the “Admin” section of your Analytics account.
- Now, you can copy and paste the global site tag on the relevant web pages. Add the
gtag.jstag right after the opening
tag. You can have different analytics code for each website on the network, and the Super Admin can manage all of them if needed.
13. Setting Up On Local Host
You can use any WAMP or LAMP software to set up WordPress Multisite on a local system. You’ll need to follow the same steps you did to host a website. However, take care with the domain mapping. You can easily set up a subdirectory website in the local system, but to set up a subdomain or a different domain, you’ll need to set up virtual host on the WAMP or LAMP server.
14. Useful Plugins For WordPress Multisite And How They Work
You can use a variety of plugins to ensure the smooth operation of your Multisite network.
A. Domain Mapping
This plugin enables you to offer each website on your network its own domain name.
Create different forms using a simple drag-and-drop tool.
C. Yoast SEO
Optimize the websites on your network for better search engine results. Yoast is a well-known name in the SEO world.
D. Pro Sites
Offer paid upgrades, advertising, and more, thereby monetizing your Multisite network. You can restrict the features of the free website, encouraging users to upgrade.
Add customized “Coming soon” and “maintenance mode” landing pages. This will jazz up the network while administrators work on their websites.
F. WP Mail SMTP
Fix the “WordPress is not sending email” issue with this plugin. It allows you to use an SMTP server to send crucial Multisite registration and notification emails.
G. User Switching
Using this plugin, you can switch user accounts as network admin to see what your users are experiencing when working on their websites. It can help you to troubleshoot some functionality issues.
15. Troubleshooting And FAQs
When setting up a Multisite network, you might encounter a few common problems. Let’s see how to troubleshoot these issues.
I. Login Issues
You might encounter a
wp-admin login issue If you are using WordPress Multisite with subdirectories, rather than subdomains. If you are not able to log into the WordPress back end for individual websites with subdirectories, you can try replacing the
define ('SUBDOMAIN_INSTALL', true); line in
wp-config.php file with
define ('SUBDOMAIN_INSTALL', 'false');.
II. Find Unconfirmed Users
Sometimes, you might not be able to find registered users who haven’t received an activation email. Usually, poorly configured mail settings are responsible for this problem. You can use SMTP (Simple Mail Transfer Protocol) to send activation emails. The PHP Mail function might send emails to the junk folder due to unauthorized email sending. Instead, you can use SMTP with proper domain authentication to get emails delivered to the inbox. Use any SMTP service provider, such as MailGun or Gmail.
1. Can I install plugin “X” in my WordPress Multisite?
Yes, you can install any plugin in Multisite. However, not all plugins support Multisite. Check the plugin’s support before installing it.
2. Can I share user logins and roles across a Multisite network?
Yes, you can share user logins and roles across multiple websites. This comes in handy if you want website admins to manage the content on their own websites in your Multisite network.
3. Is it possible to display the main website’s posts on all websites on the network?
Yes, you can show your main website’s posts across the network.
4. If I am a Super Admin, can I log into all network websites with a single ID?
Yes, Super Admins can use the same credentials to sign into all network websites.
5. As a Super Admin, can I log into another network’s websites?
No, you can’t sign into networks other than your own.
6. Can I add more websites to my network later?
Yes, you can add as many websites as you want, anytime you want.
7. Can I use different plugins for each website, such as Yoast for one and All in One SEO for another?
Yes, you can use different plugins with similar functionality for different websites. However, you must set the plugin for the specific website you want. If you activate it for the entire Multisite network, it will work on all websites automatically.
8. Can I install a plugin on an individual website?
No, you cannot install a plugin directly on an individual website. You have to install it on the network. However, you can activate or deactivate it for a specific website.
9. Can I create a theme and apply it to a specific website?
Yes, you can create as many themes as you like. You can also activate or deactivate themes as a website’s admin.
16. WordPress Multisite Examples
Here are a few well-known brands using a WordPress Multisite network.
- OpenView Venture Partners
OpenView Venture Partners is a venture capital firm. The company uses a Multisite installation to run three different websites, including the corporate website, the corporate blog, and a multi-author blog called Labs. The company runs the last two websites under the subdomains blog.openviewpartners.com and labs.openviewpartners.com. Each website has a centralized theme that works perfectly.
- The University of British Columbia Blogs
The University of British Columbia (UBC) also uses WordPress Multisite. The purpose here is to enable professors to create course websites, build blogs with multiple contributors, and create portfolios for students as well as staff members. The WordPress Multisite installation gives teachers complete control over their online communities. They can add as many students as they like and take teaching beyond the walls of the classroom.
- Cheap Flights
Cheapflights is a travel website, offering flight tickets, hotel bookings, and vacation packages. The website uses WordPress Multisite to power its Travel Tips section. The section covers the latest travel news, tips on flying, information on the best places to travel to, and more.
As you can see, WordPress Multisite comes with several advantages. You can control and manage several websites from a single dashboard. It can certainly reduce your legwork and make your website monitoring hassle-free. Hopefully, you now have enough knowledge on installing, troubleshooting, and working with applications on a Multisite network to take the plunge.
Have you ever used WordPress Multisite? Will you consider using it for future projects? Let us know in the comments section below.
(dm, yk, al, il)
From our sponsors: A Complete Guide To WordPress Multisite