How to Create a Network of WordPress Multisite Networks
How to Create a Network of WordPress Multisite Networks
Multisite is great and all, but if you really want to take WordPress to a whole ‘nother level installing a Multi-Network – or a network of networks – is what you want to do.
It’s a mind-blowing concept as speaker John James Jacoby described at WordCamp Chicago in 2014. In the video description, he also explained that the WordPress multi-network feature is what most people actually want instead of Multisite, but it’s also not well-known.
It’s easy to see why when you explore just how beneficial this setup can be to your workflow and how much time you can save.
It’s something almost everyone needs, from freelancers and bloggers to multi-national corporations. That’s why we’ll cover exactly what a multi-network is in this post, as well as the pros and cons of creating one and how you can easily set one up and maintain it with a free, easy-to-use and well-maintained plugin for Multisite.
What Exactly is a Multi-Network, Anyway?
Most people already know about WordPress Multisite and how it works. You can turn on the Multisite feature on a single installation of WordPress in order to create a network that houses as many blogs or sites as you want – or at least what your server can handle.
If you would like more information about Multisite and how to set one up, check out one of our other posts called The Ultimate Guide to WordPress Multisite.
A multi-network, on the other hand, works in about the same way, but instead of housing single WordPress sites it houses Multisites. Basically, you can create a network of networks.
Each Multisite that’s created in a multi-network shares the same database.
Each blog within a Multisite, including the main site, is displayed in the database as separate tables. For example,
# is the site ID.
You can also map any domain you own to a new Multisite you create within the multi-network. Each Multisite can also create sites with either a sub-domain or sub-directory URL path.
What you may find surprising, however, is that this feature is already built into the WordPress core. The only catch is its UI is hidden.
Unfortunately, you aren’t able to see the option to create a multi-network in your super admin dashboard, which is a bummer, but with the help of the WP Multi Network plugin, you can expose this UI in just a few clicks.
But before we get into the installation process, it’s important to know what the pros and cons are of setting up a multi-network. This way, you can decide if it fits your needs.
Why Would You Want this Kind of Setup?
There are many possibilities when it comes to creating a multi-network. In fact, it’s quite similar to the uses of Multisite.
The main benefits of a multi-network include:
- Complete control and organization of all Multisite installs you run.
- You won’t have to remember each site you run along with their login credentials since they can all be under one umbrella.
- You can keep all your client sites together to access them quickly and easily.
- Apply core, plugin and theme updates, as well as code changes, just once instead of tens or even hundreds of times for each site you manage.
- Hardening of your network’s security can be done only once and is applied to all of your Multisite network, rather than needing to secure multiple locations.
- If you have many related Multisite networks, placing them under one network can be useful for organization and can help give your sites a cohesive look.
- You can give access to people for certain Multisites they run while keeping other sites in the network inaccessible to them. This is particularly helpful if you have clients all wanting their own Multisite.
Risks and Drawbacks of a Multi-Network
Unfortunately, it’s not all rainbows and joy balloons. Multi-networks also have similar downsides to Multisite networks. The cons, unfortunately, aren’t much different to the pros.
Here are the main drawbacks you need to consider:
- Having all your Multisites under one network means that hackers only need to access your multi-network account to wreck all your sites.
- Pushing through some updates or tweaks to code can break all of your networks, rather than just the one you’re working on.
- You should be the only administrator to your multi-network, unlike single or Multisite installs where you may be able to get away with multiple admins since one change could negatively affect the entire multi-network.
- You need to be at the top of your game when it comes to security since a few steps in the right direction is no longer enough.
- Plugins and themes aren’t built with the multi-network feature in mind so you may need to tweak some code to get the specific results you want. For example, some plugins can only be activated per Multisite rather than across the entire multi-network.
- There’s a bit of a learning curve when it comes to using the multi-network UI. If you’re not familiar with domain mapping and Multisite, it can be difficult to run a multi-network.
- There isn’t currently any documentation available for the WP Multi Network plugin, which is what is covered in this post.
For security tips to help you manage all your Multisites within your multi-network, check out some of our other posts: WordPress Security: The Ultimate Guide, WordPress Security: Tried and True Tips to Secure WordPress and 12 Ways to Secure Your WordPress Site You’ve Probably Overlooked.
If you understand the risks, but you’re ready to get started, then read on.
Getting Started with Your Multi-Network
In order to create a multi-network, you need to have Multisite installed. If you’re not sure how to do this, check our ultimate guide to Multisite.
But before you do, it’s a great idea to make a full backup just in case something goes wrong. You can restore your site easily if anything goes wrong.
For instructions on how to backup your Multisite, check out these other posts: How to Backup Your WordPress Site (and Multisite) Using Snapshot, 11 Best Free Quality Backup Plugins for Protecting Your WordPress Site and 7 Top Premium and Freemium WordPress Backup Plugins Reviewed.
Once that’s done, install and network activate the WP Multi Network plugin to your Multisite network just as you would with most other plugins.
There’s one last thing you need to do before you can start managing your new multi-network. Access the wp-config.php file and comment out the
DOMAIN_CURRENT_SITE line above the
happy blogging comment. It should end up looking similar to the example below:
1.6 million WordPress Superheroes read and trust our blog. Join them and get daily posts delivered to your inbox - free!
Of course, your domain should be listed instead of displaying yourdomain.com. Once your file is saved, you can start setting up your multi-network.
Navigating Your New Setup Like a Pro
Once your multi-network has been set up, you should see a new Networks tab in what was formerly your super admin dashboard.
Right now, only the main Multisite is installed which isn’t very exciting so let’s add a new one.
Click Add New to create a new Multisite. Next, enter your desired Multisite Network Name. In the Domain field, you can type the domain you wish to use for your Multisite.
You have a few options here. You can enter your multi-network’s domain, then under Path, type in a sub-directory name you would like to use.
Your URL should end up looking similar to www.your-multi-network.com/Multisite1. Alternatively, you can enter a new domain that you own with or without a path. Just make sure the new domain is pointed to your multi-network’s site path.
In the pictured example above, the first sub-domain is the URL of the multi-network. The second sub-domain is mapped in cPanel to the folder mn in the root directory where the multi-network is hosted. This means that the second sub-domain can be mapped to a Multisite in the network.
For more pointers on how to properly map your domain, check out one of our other posts called The Ultimate Guide to Domain Mapping with WordPress and Multisite.
Next, enter the name of your new Multisite and main site in the Site Name field, then click the Create Network button at the bottom of the page.
The All Networks page will be loaded next.
This is where you can see all the Multisites you have in your network.
Hovering over one of the Multisite titles reveals some link options: Edit, Dashboard, Visit, Assign Sites and Delete.
The only difference for your main Multisite is that the Delete button isn’t displayed. If you click the Edit link, you are directed to the standard Edit Site screen.
As you may have already guessed, the Dashboard link directs you to that Multisite’s dashboard, the Visit link directs you to the homepage and the Delete link, well, deletes your Multisite.
The only option that looks brand new is the Assign Sites link. When you click on it, you’re brought to a new page where you can move sites from one Multisite network to another.
Selecting a site from the left-hand side from the Available field, then clicking the right arrow button moves that selection to the Assigned field, where you want the site to be moved. You can click the left arrow button after making a selection from the Assigned field to move the site back to its original network.
When you’re done switching your sites around, click the Update Assignments button at the bottom of the page to apply your changes. If you would rather quit without saving, click the Cancel button at the bottom instead.
If you would like to migrate sites or Multisite installs to your multi-network, you can do this following the same process as you would if you were moving content around to a different site.
You can find more information on how to do this in our posts: A Step By Step Guide to Moving Content From One WordPress Site to Another and Migrating Multiple Blogs Into WordPress Multisite.
That’s all there is to it. With your new multi-network set up, you can get all your Multisites organized under one network and save time with updates and changes since you can take care of them all in just a few clicks from a central dashboard.
What’s next with your new multi-network? You can easily apply consistent branding across your entire network in just a few clicks. You can learn how to do this in our post Stop WordPress Stealing Your Brand’s Limelight.
You can even add features to your network that users can pay to use on their site and we outline how to make it happen in our post Adding Premium Upgrades to Your Multisite Network with Pro Sites.
Could you see yourself using a multi-network? How would you use one or why wouldn’t you? Share your experience in the comments below.