WordPress GuideAdmin → Multisite Setup

How to do a WordPress Multisite setup

Image

As a WordPress user, you’ve probably heard of a WordPress Multisite setup. If you haven’t, it might sound complicated at first, as managing multiple WordPress installations can become overwhelming and challenging. How does WordPress Multisite compare to a standard installation? And how can you benefit from using it? Is it actually difficult to set up?

We’ll go over the entire WordPress multisite setup process and answer any questions you might have along the way. Let’s dive in!

Get fast, reliable hosting for WordPress

Power your site with the industry’s fastest, most optimized WordPress hosting

Understanding the WordPress ecosystem

If you’ve ever looked into website creation and hosting, WordPress is the most popular content management system you’ll see. In fact, WordPress dominates 43.5% of the internet, and there’s a good reason for that. Because it’s open source, it’s highly customizable — it’s also easy to use for beginners.

Let’s say you have your website already created. Now comes the question of how to make it accessible worldwide. There are many WordPress hosting providers to choose from, and they all have their advantages and disadvantages, so it’s important to vet each one carefully.

With all that covered, let’s now discuss how to do a WordPress multisite setup.

What is a WordPress Multisite?

A WordPress Multisite setup centralizes and streamlines the creation and management of an entire network of websites from a single installation.

Throughout WordPress’s history, WordPress Multisite was commonly confused with WordPress MU (or WordPress multi-user), which dates back to pre-2010. WordPress multi-user is ideal for people who want to set up a large network of blogs.

Nowadays, you have the ability to run multiple sites with a single installation of WordPress. This was not always possible. The ability to install WordPress Multisite first became available in WordPress version 3.0, when the multisite feature was introduced back in 2010.

Benefits of a WordPress Multisite setup

If you need some convincing either way, digest these benefits first:

Management made easy

Using the WordPress Multisite setup means that you’ve got a centralized site with a super admin for all your websites, plugins, and themes, making site management a whole lot easier.

If you’d like to divide this and have a user assigned to each of the sites, you can. Just go to My Sites > Network Admin > Users menu, which allows for more in-depth control and management of all users on all sites. Choosing the right plugins and themes is also crucial to a fast-performing website.

Hassle-free site creation

Having a central point for your sites, plugins, and themes also means that setting up new websites is significantly faster and easier. Manual creation of the website by setting up directories and databases and installing plugins and themes becomes a thing of the past, as this process becomes more or less automated with a WordPress Multisite.

Multiple sites

The main perk of the WordPress Multisite setup is, of course, having a network of websites in a single WordPress installation, which enables you to manage multiple domains from one dashboard. This makes it an ideal choice for businesses that have various brands, educational institutions with different departments, or content creators managing multiple related websites.

Drawbacks of a WordPress Multisite setup

Before you dive into a multisite setup, here are some drawbacks you need to keep in mind:

Resource sharing

In a WordPress Multisite setup, all sites share the same server resources. This can lead to performance issues if one site experiences high traffic or resource-intensive operations, affecting the speed and stability of other sites in the network. Managing resource allocation becomes critical to prevent slow loading times and potential crashes.

Security and database complexity

WordPress Multisite networks face heightened security risks due to shared databases and resources. A security breach on one site can compromise the entire network. Additionally, managing a complex database structure requires careful attention to ensure data integrity and security across all sites.

Plugin compatibility

Not all plugins are compatible with WordPress Multisite setups, which can limit functionality and cause conflicts. This requires careful selection and testing of plugins to ensure they work seamlessly across the network. Incompatible plugins can lead to errors and downtime.

Migration challenges

Migrating a WordPress Multisite network is more complex than moving a single site. It involves synchronizing data, updating DNS records, and ensuring database integrity. This process requires careful planning and technical expertise to avoid data loss and downtime during the transition.

When to use WordPress Multisite

WordPress Multisite is ideal for managing multiple interconnected websites efficiently. It’s particularly beneficial for:

However, WordPress Multisite may not be suitable for:

Requirements for Multisite

There are some things to consider before making the decision to switch to a multisite network. There isn’t a single solution that is made for everyone, so with that in mind, here are some useful things to know.

1. Choosing the right hosting provider 

Let’s say all the sites within your network are on the same server. Some sites can use more server resources than others, which could potentially mean slow operation of certain sites or, in some cases, even crashes.

Certain providers only support certain configuration types, while others don’t work with WordPress Multisite networks at all. Moving websites later on can be a difficult undertaking due to all sites having a centralized database. To avoid issues, ensure that there are enough resources made available at all times for your network to use.

2. Choosing the domain setup 

The main perk of the WordPress Multisite setup is, of course, having a network of websites in a single WordPress installation. You can choose between setting the sites up as a Multisite Network with:

Sub-directories:

A sub-directories structure is path-based and uses paths instead.

Sub-domains:

A sub-domain structure is domain-based and uses subdomains.

Unique domains:

‘Unique domains’ refer to the ability to assign distinct, custom domain names to each site within a WordPress Multisite network. Such domains are heavily host-dependent and need WordPress Multisite domain mapping to work. This feature is particularly useful for organizations that need to manage multiple websites under a single WordPress installation while maintaining separate identities for each site.

3. Security considerations

WordPress as a platform is already a well-known target for cybercriminals. Make sure to take any and all WordPress hardening and security precautions that you can. Multisite setups can have truly disastrous implications, as this could mean your entire network could be under threat. Be sure to check hosting provider security measures when shopping around – you may need to manage these yourself, through a dedicated plugin.

How to install WordPress Multisite

1. Preparing your WordPress site

Before doing anything, create a full backup of your website so you have something to roll back to if things go sideways.

Next, deactivate all your plugins using the Bulk actions option. You can’t create a multisite network without doing this, so it’s best to get it out of the way before you get into the more complicated stuff. When the network is up and running, you’ll be able to re-enable them in a few clicks, so don’t worry about this creating extra work for you down the line.

2. Enabling multisite configuration settings

Use SFTP to access your website’s files, and find your wp-config.php. Open it in a file editor and, right above the line that says /* That's all, stop editing! Happy blogging. */, add the following code:

/*Multisite */
define ('WP_ALLOW_MULTISITE', true);

Save the file right after.

3. Installing the network

Log back into your admin dashboard and go to Tools > Network Setup.

Choose the structure you want to use for sites in your network: sub-domains or sub-directories. Make the right choice the first time; you only get one chance.

How to install WordPress Multisite

For this walkthrough, we’re going to be using sub-directories.

4. Setting up the network

Next, WordPress will give you two bits of code to copy and paste into your wp-config.php and .htaccess files respectively.

Setting up a WordPress Multisite network

After this, you’ll automatically be logged out of your WordPress admin dashboard. Log back in, and you should see a new option appear on the right of the menu along the top of the page, one labeled Network Admin.

WordPress Multisite Network Admin

This is where you can manage the entire network as a “super admin”, including all its users, themes, and plugins.

💡 To reactivate plugins for the network, go to Network Admin > Plugins, then bulk activate the same way you bulk deactivated!

You’ll also notice the new Sites option on the left. You can add new sites from here through Sites > Add New.

Adding a site to WordPress Multisite

Fill in the new site’s details, click Add Site, and you’re good to go!

How to add a new site to a WordPress Multisite network

5. Additional steps

To use subdomains like site1.example.com, you need to follow these steps:

For subdirectories:

If you want to map custom domains to your subsites (e.g., site1.com instead of site1.example.com), you will need to:

Configuring your WordPress Multisite network

If you’ve successfully set up your WordPress Multisite network, you should see a new option in the WordPress administrator area toolbar. Navigate to My Sites > Network Admin to access the central control panel for managing your network.

WordPress admin toolbar

You should now see multiple other views show up as well:

How to manage your WordPress Multisite network

Managing a WordPress Multisite network involves overseeing multiple sites from a single dashboard. This includes creating sites, managing users, themes, plugins, and databases.

Creating and managing sites

Creating and managing sites in a Multisite network is streamlined through the Network Admin dashboard. You can add new sites by specifying their addresses and titles, and manage existing ones by editing their settings or deleting them if necessary. This centralized control simplifies site administration, allowing you to monitor and update multiple sites efficiently. Additionally, you can configure site-specific settings, such as language and time zone to cater to diverse audiences.

User management across the network

User management in a Multisite network involves assigning roles such as Network Admin, who has control over all sites and users, and Site Admin, who can manage users for only their specific site. You can customize user roles to control access and permissions, ensuring that users only have the capabilities they need. This hierarchical structure helps maintain security and smooth operation across the network.

Theme and plugin administration

Themes and plugins are managed centrally from the Network Admin dashboard. Network Admins can install and enable themes and plugins for the entire network or specific sites. This ensures consistency and control over the features available to each site. You can also network-enable plugins, allowing them to be activated across multiple sites simultaneously. This feature helps maintain a uniform look and functionality across the network, while allowing for site-specific customization when needed.

Media management

Media management in a Multisite network involves organizing files across multiple sites. Each site typically has its own media library, which helps keep files separate and organized. However, you can use plugins to share media libraries across the network, making it easier to access and reuse content. This is particularly useful for networks where content is shared frequently. By managing media effectively, you can streamline content creation and reduce storage needs.

Database structure and management

A Multisite network uses a shared database with additional tables for network settings and site-specific data. Each site has its own set of tables for posts, users, etc. These help to maintain data integrity. Managing the database involves ensuring that data is secure and consistent across all sites. Regular backups and updates are needed to prevent data loss and maintain network stability. Additionally, optimizing database performance can improve overall site speed and responsiveness.

Troubleshooting common WordPress Multisite issues 

Managing a WordPress Multisite network can sometimes lead to some highly specific challenges. Here are some common issues and how to resolve them:

Login and authentication problems

Login issues in WordPress Multisite often arise from blocked cookies or incorrect domain configurations. If users encounter login errors, try clearing browser cookies related to WordPress. Additionally, ensure that the COOKIE_DOMAIN is correctly set in your wp-config.php file, like to your non-static domain for subdomains handling static content, to prevent cookie blocking issues.

Domain mapping issues

Domain mapping issues can cause sites to redirect incorrectly or fail to load. Ensure that your DNS settings are correctly configured for wildcard subdomains. In the Network Admin settings, verify that the primary site domain is set without ‘www’ to prevent redirects. If using a domain mapping plugin, ensure it is properly configured and updated.

Permission and file structure problems

Incorrect file permissions can lead to errors in uploading files or installing plugins. Use an FTP client to set file permissions to 644 and directory permissions to 755. Regularly review and adjust permissions to maintain site security and functionality. Ensure that all themes and plugins are compatible with Multisite setups to avoid conflicts.

Email and user registration challenges

Email issues often occur when WordPress fails to send notifications or registration emails. Consider using an SMTP plugin like WP Mail SMTP to improve email deliverability. For user registration challenges, such as users being unable to register on multiple sites, consider using plugins that allow separate registrations across the network. Ensure that email validation processes are working correctly to avoid user account issues.

FAQs about WordPress Multisite

1. How can I migrate an existing site to a multisite network?

To migrate an existing site to a Multisite network, you can use plugins like All-in-One WP Migration. First, export your site’s content and then create a new subsite in your Multisite network. Install necessary plugins and themes, and finally import your content into the new subsite. This process allows you to integrate existing sites into your network with ease.

2. What are the SEO implications of multisite?

WordPress Multisite can simplify SEO management by allowing centralized updates and consistent branding across sites. However, it may introduce challenges like duplicate content issues and slower site speeds if not managed properly. Properly structured networks can boost SEO by facilitating easier content management and experimentation across multiple sites.

3. How is multisite different from multiple single installations?

WordPress Multisite differs from multiple single installations by allowing multiple sites to be managed from a single dashboard. This setup shares resources, plugins, and themes, reducing maintenance time and costs. In contrast, separate installations require individual management and updates for each site, offering more isolation but increased complexity.

4. Is WordPress Multisite free?

Yes, WordPress Multisite is free as it is a built-in feature of WordPress. However, the cost of hosting and managing a Multisite network can vary depending on your hosting provider and the resources required to support multiple sites. Some hosting plans may offer optimized solutions for Multisite setups, which can impact overall costs.

Additional resources

How to use your WordPress admin login page →

How to find, use, and troubleshoot your admin page

WordPress Multisite: The complete overview →

Need to back up a step? Get a complete intro to Multisite.

5 insider tips to managing multiple sites →

Maintain your client relationships and ensuring that your customers’ websites are secure.