{"id":163920,"date":"2017-05-20T13:00:04","date_gmt":"2017-05-20T13:00:04","guid":{"rendered":"https:\/\/premium.wpmudev.org\/blog\/?p=163920"},"modified":"2022-03-17T04:51:29","modified_gmt":"2022-03-17T04:51:29","slug":"wordpress-multi-network","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/wordpress-multi-network\/","title":{"rendered":"How to Set Up a WordPress Multisite Multi-Network"},"content":{"rendered":"<p>WordPress Multisite is an awesome tool in its own right that enables you to create a network of WordPress websites, but did you know it&#8217;s possible to create a network of Multisite networks, i.e. a network of networks?<\/p>\n<p>A multi-network allows you to have virtually infinite Multisite networks, all using a single WordPress install and database. Each network can host virtually infinite child blogs\/sites. Take that Christopher Nolan!<\/p>\n<p>There are great benefits to having a multi-network as well as risks: on the one hand, you have a\u00a0single install with centralized updates for all networks and blogs\/sites \u2013 all of your networks conveniently located in the one place. On the other hand,\u00a0you have one single install with centralized updates for all networks and blogs\/sites&#8230; having everything in one place can make you vulnerable to hacking attacks and other security issues.<\/p>\n<p>Despite the pros and cons, it&#8217;s well worth exploring how multi-networks work, especially if setting one up could be beneficial for your development activities or business. So in this article, I&#8217;ll walk you through how to set up a multi-network.<\/p>\n<p>Continue reading, or jump ahead using these links:<\/p>\n<ul>\n<li><a href=\"#before-we-get-started\">Before We Get Startd<\/a><\/li>\n<li><a href=\"#getting-started\">Getting Started with Multi-Network for WordPress<\/a><\/li>\n<li><a href=\"#domain-mapping-on-a-multi-network\">Setting Up Domain Mapping on a Multi-Network<\/a><\/li>\n<li><a href=\"#creating-a-network\">Creating a Network<\/a><\/li>\n<li><a href=\"#creating-a-site\">Creating a Blog\/Site<\/a><\/li>\n<li><a href=\"#moving-a-site-from-a-network-to-another\">Moving a Blog\/Site From a Network to Another<\/a><\/li>\n<\/ul>\n<h2 id=\"before-we-get-started\">Before We Get Started&#8230;<\/h2>\n<p>There are a few\u00a0things worth pointing out before we dive into how to set up a multi-network.<\/p>\n<p>Firstly, each Multisite running under a multi-network is a <em>complete<\/em> Multisite. You have to access the network admin dashboard on each network you create, and set up network settings, same for each blog\/site. Your networks\u00a0share the same physical WordPress install and database but work as independent Multisite networks.<\/p>\n<p>Secondly, it&#8217;s important to have a plan for your multi-network. You should always upscale your system as \u2013 or before<i>\u00a0\u2013<\/i>\u00a0it grows. Prior planning is key and if you plan \u2013 and upscale \u2013 before the\u00a0need arises, your\u00a0multi-network should\u00a0succeed.<\/p>\n<p>At some point you will have to learn about DB Sharding \u2013 it\u2019s not rocket science, but it&#8217;s a kind of more hardcore task and beyond the scope of this article. You will probably need to hire or get help from a DevOp in order to plan and implement DB Sharding.<\/p>\n<p>If you start digging into\u00a0the database for a Multisite install, you will realize the same <em>site_id=1<\/em>\u00a0for all blogs\/sites, located in the database table ending in <em>_blogs<\/em>. Each blog\/site will have a unique <em>blog_id<\/em>, but they are all under the same <em>site_id=1<\/em>. You will also note a database table ending in <em>_site<\/em>. It&#8217;s here where\u00a0a multi-network writes a unique <em>site_id<\/em>\u00a0for every new Multisite\u00a0network you create.<\/p>\n<p>WordPress terminology is a bit confusing here: <em>SiteID<\/em> actually refers to a Multisite or network, and <em>BlogID<\/em> refers to any blog\/site under it.<\/p>\n<p>Another cool feature: multi-network allows you to move any blog\/site from any of your Multisite networks to any other network running on the same multi-network install \u2013 all with minimal backend configuration.<\/p>\n<p>I will guide through all that in this article.<\/p>\n<h2 id=\"getting-started\">Getting Started with Multi-Network for WordPress<\/h2>\n<p>First up, we need a working <a href=\"https:\/\/wpmudev.com\/blog\/ultimate-guide-multisite\/\" target=\"_blank\">WordPress Multisite<\/a> install. I used cheap shared hosting while putting together this tutorial, but if you plan on building a serious multi-network, cheap hosting isn&#8217;t going to cut it\u00a0\u2013 your multi-network needs to be able to\u00a0support large amounts of\u00a0traffic and queries, so you&#8217;ll have to <a href=\"https:\/\/wpmudev.com\/hosting\/\" target=\"_blank\" rel=\"noopener\">migrate to some serious hosting<\/a> at some point (and it&#8217;s always better to do it before you actually need it!).<\/p>\n<p>Once you&#8217;ve got your Multisite network installed, it&#8217;s time to unleash your multi-network! Enabling it is very easy \u2013 fortunately, there are some great plugins available in WordPress to help you do it. My choice is <a href=\"https:\/\/wordpress.org\/plugins\/wp-multi-network\/\" rel=\"noopener\" target=\"_blank\">WP Multi Network<\/a>, developed by John James Jacoby, the mastermind behind the existence of multi-network in WordPress core. John\u00a0explains how multi-network works in\u00a0<a href=\"http:\/\/wordpress.tv\/2014\/07\/26\/john-james-jacoby-multisite-and-multi-network\/\" rel=\"noopener\" target=\"_blank\">this video<\/a>.<\/p>\n<p>Okay, so let&#8217;s start setting up multi-network.<\/p>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-01-WP-Multi-Network-Plugin.png\" alt=\"The WP Multi Network plugin is available to download for free at WordPress\\.org\" width=\"600\" height=\"271\" \/><figcaption class=\"wp-caption-text\">The WP Multi Network plugin is available to download for free at WordPress.org<\/figcaption><\/figure>\n<\/div>\n<p>1. Go to your Multisite network admin dashboard.<\/p>\n<p>2. In the\u00a0sidebar, go to <strong>Plugins &gt;\u00a0Add New<\/strong>.<\/p>\n<p>3. Click the\u00a0<strong>Search Plugins <\/strong>field in the top-right and enter\u00a0&#8220;WP Multi Network.&#8221;<\/p>\n<p>4. Click\u00a0<strong>Install Now<\/strong>\u00a0and after the plugin\u00a0installs, click <strong>Network Activate<\/strong>.<\/p>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-03-WP-Multi-Network-Activate.png\" alt=\"Simply network activate the plugin and you're ready to start setting up your Multi Network.\" width=\"600\" height=\"300\" \/><figcaption class=\"wp-caption-text\">Simply network activate the plugin and you&#8217;re ready to start setting up your multi-network.<\/figcaption><\/figure>\n<\/div>\n<p>You should now\u00a0see the <strong>Networks<\/strong> panel as the very top menu in\u00a0your\u00a0network admin dashboard, but in order to make multi-network\u00a0fully operational, you\u00a0need to make some further changes to your\u00a0<em>wp-config.php <\/em>file.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multisite-multi-network-setup.jpg\" alt=\"Setting up your multi-network.\" width=\"1050\" height=\"420\" \/><figcaption class=\"wp-caption-text\">Setting up your multi-network.<\/figcaption><\/figure>\n<\/div>\n<p>5. Using your preferred method of editing files in your WordPress directory, be it cPanel, FTP, or something else, find the following lines:<\/p>\n<p>Now comment out the line with <code>define('DOMAIN_CURRENT_SITE', yoursite.com);<\/code><\/p>\n<p>Of course, <em>yoursite.com<\/em>\u00a0is example text and in your case should be your domain name.<\/p>\n<p>Congratulations! You&#8217;re now running a multi-network!<\/p>\n<p>Login to your network and go to your network admin dashboard. Now you can\u00a0start adding and managing networks (or Multisites) on your multi-network.<\/p>\n<h2 id=\"domain-mapping-on-a-multi-network\">Setting Up Domain Mapping on a Multi-Network<\/h2>\n<p>The WP Multi Network\u00a0plugin manages the\u00a0networks you create for your multi-network. This means you can create a whole network as a sub-directory of your master network (the Multisite network\u00a0you created first). Or you can choose to have a different domain for each\u00a0network (or Multisite) under your multi-network, which the\u00a0WP Multi Network plugin takes care of.<\/p>\n<p>You will be able to map domains to any child blog\/site under any of your networks using our <a href=\"https:\/\/wpmudev.com\/blog\/domain-mapping-wordpress\/\" target=\"_blank\" rel=\"noopener\">Ultimate WordPress Multisite Domain Mapping Guide<\/a>. If you choose to map domains to your other\u00a0networks\u00a0or\u00a0blogs\/sites, each domain must be configured to point to your\u00a0multi-network&#8217;s physical IP or <em>public_html <\/em>directory.<\/p>\n<p>This is done using the domain control panel provided by your hosting company, usually cPanel. If you use cPanel, you will have to add your domains as Aliases (or Parked Domains) or\u00a0Add-on Domains (depending on your hosting plan), and point each of them to the same directory of your WordPress install. Normally it is <em>public_html<\/em>, but it may be different depending on your web host&#8217;s settings.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-05-cPanel-Add-On-Domain.png\" alt=\"Adding domains to your network.\" width=\"1050\" height=\"640\" \/><figcaption class=\"wp-caption-text\">Adding domains to your network.<\/figcaption><\/figure>\n<\/div>\n<p>If you&#8217;re using <a href=\"https:\/\/wpmudev.com\/hosting\/\" target=\"_blank\" rel=\"noopener\">WPMU DEV Hosting<\/a>, you&#8217;ll do all of this directly from The Hub. You can find information about doing this in our <a href=\"https:\/\/wpmudev.com\/docs\/hosting\/dns-and-domain-management\/\" target=\"_blank\" rel=\"noopener\">documentation<\/a> or contact our 24\/7 support.<\/p>\n<p>If you use DNS Made Easy\u00a0or another DNS tool,\u00a0you will have to <a href=\"https:\/\/support.dnsmadeeasy.com\/hc\/en-us\/articles\/34327194220315-ANAME-Records\" rel=\"noopener\" target=\"_blank\">add an ANAME Record<\/a> for each domain you want to map to your network, pointing to the same physical IP of your WordPress Multisite install. After doing this and waiting for the DNS changes to propagate (this may take some time), your domains will be redirected to the same directory (cPanel) or IP (DNS Made Easy).<\/p>\n<p>I have registered two domains that I will use for this install. Each domain have an active SSL \u2013 we need an SSL for each domain (or a multi-domain SSL covering them all):<\/p>\n<ul>\n<li><em>https:\/\/awpmu.cloud\/<\/em> &#8211; this will be the main (or master) network.<\/li>\n<li><em>https:\/\/lwpmu.cloud\/<\/em> &#8211; this will be a child (or slave) network.<\/li>\n<\/ul>\n<p>I&#8217;m going to organize my main network in the following way:<\/p>\n<ul>\n<li>Multi Network Main Multisite &#8211; AWPMU Multi Network<\/li>\n<li>Main Network Address\u00a0&#8211; <em>https:\/\/awpmu.cloud\/<\/em><\/li>\n<li>Main Multisite Site\u00a0&#8211; AWPMU Network \u2013 Main Site (tagline)<\/li>\n<\/ul>\n<p>Next, I&#8217;m going to create a child network (or Multisite) this way:<\/p>\n<ul>\n<li>Multi Network Child Multisite &#8211; LWPMU Network<\/li>\n<li>Child Network Address\u00a0&#8211; <em>https:\/\/lwpmu.cloud\/<\/em><\/li>\n<li>Child Multisite Site\u00a0&#8211; LWPMU Network \u2013 Main Site (tagline)<\/li>\n<\/ul>\n<p>I&#8217;ll also create a child blog under each Multisite:<\/p>\n<ul>\n<li>Main Multisite Child-Blog &#8211; <em>https:\/\/awpmu.cloud\/blog01\/<\/em> &#8211; Blog 01<\/li>\n<li>Child Multisite Child-Blog- <em>https:\/\/lwpmu.cloud\/blog02\/<\/em> &#8211; Blog 02<\/li>\n<\/ul>\n<p>Finally, I\u2019ll move these child blogs from one Network (or Multisite) to the other, doing some small changes needed to end things like this:<\/p>\n<ul>\n<li>Master Multisite Child-Blog &#8211; <em>https:\/\/awpmu.cloud\/blog02\/<\/em> &#8211; Blog 02<\/li>\n<li>Slave Multisite Child-Blog- <em>https:\/\/lwpmu.cloud\/blog01\/<\/em> &#8211; Blog 01<\/li>\n<\/ul>\n<h2 id=\"creating-a-network\">Creating a Network<\/h2>\n<p>It&#8217;s very simple to create a new network. Here&#8217;s how you do it:<\/p>\n<p>1. Go to your Multisite network admin dashboard and click on the first menu item, that is, the<strong> Networks<\/strong> icon created by the WP Multi Network plugin. In the top-left, click\u00a0<strong>Add New<\/strong>. Fill in the required fields.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-06-AWPMU-Add-Network-01.jpg\" alt=\"Adding a network to your network.\" width=\"1050\" height=\"480\" \/><figcaption class=\"wp-caption-text\">Adding a network to your network.<\/figcaption><\/figure>\n<\/div>\n<p>2. Enter a network title. This is the name of your new Multisite. Try to use a name that&#8217;s memorable.<\/p>\n<p>3. Enter the domain you mapped in your cPanel or domain control panel in the previous steps in this tutorial. You can use your main domain with a path if you don\u2019t want to map another domain to your new Multisite.<\/p>\n<p>4. Enter a site name, i.e. the name for your new Multisite main site.<\/p>\n<p>5. Enter a path. Only use this option\u00a0if you want your new network to be in a sub-directory of the original (main) network, or a sub-directory of any other domain already mapped to the same <em>public_html<\/em> directory (cPanel) or IP (DNS Made Easy or other domain control panel you use).<\/p>\n<p>Note: DNSpropagation may take some time, up to 72 hours. I prefer to use <a href=\"https:\/\/dnsmadeeasy.com\/\" rel=\"noopener\" target=\"_blank\">DNS Made Easy<\/a>\u00a0because it delivers the fastest DNS propagation I could find.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-07-AWPMU-Add-Network-02.jpg\" alt=\"Adding a network.\" width=\"1050\" height=\"480\" \/><figcaption class=\"wp-caption-text\">Adding a network.<\/figcaption><\/figure>\n<\/div>\n<p>6. Click\u00a0<strong>Create<\/strong>. You will then be redirected back to the <strong>Networks<\/strong> page in your network admin dashboard.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/seting-up-two-networks-wordpress-multi-network.jpg\" alt=\"Two networks on a multi-network.\" width=\"1050\" height=\"420\" \/><figcaption class=\"wp-caption-text\">Two networks on a multi-network.<\/figcaption><\/figure>\n<\/div>\n<p>You can see now that we have two networks (or Multisites), each one with a default automatically created site under it.<\/p>\n<p>7. Go to your PHPMyAdmin (also part of cPanel, though your access to it may depend on your host\u2019s settings), and you&#8217;ll find a bunch of new tables in your network&#8217;s database. Check on the database table ending in <em>_site<\/em>, and you will see our new Multisite with <em>id=2<\/em>, and on the database table ending in <em>_blogs<\/em>\u00a0you see the new site with <em>blog_id=2<\/em>, and <em>site_id=2<\/em>.<\/p>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-09-PHPMyAdmin-01-Site.png\" alt=\"Sites in the network.\" width=\"600\" height=\"140\" \/><figcaption class=\"wp-caption-text\">Sites in the network.<\/figcaption><\/figure>\n<\/div>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-10-PHPMyAdmin-02-Blogs.png\" alt=\"Blogs in the network.\" width=\"600\" height=\"113\" \/><figcaption class=\"wp-caption-text\">Blogs in the network.<\/figcaption><\/figure>\n<\/div>\n<p>8. Before we do anything on our new child\/slave Multisite, let&#8217;s first create a child blog under the original Multisite (<em>site_id=1<\/em>, AWPMU Multi Network on my Multi Network). Go to\u00a0<strong>Sites<\/strong>\u00a0in the sidebar in your main network admin and create a new site. You will see the main multi-network site there. In my case, I have <em>awpmu.cloud<\/em>).<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-11-AWPMU-Sites-01.jpg\" alt=\"A new child blog in my main multi-network site.\" width=\"1050\" height=\"420\" \/><figcaption class=\"wp-caption-text\">A new child blog in my main multi-network site.<\/figcaption><\/figure>\n<\/div>\n<h2 id=\"creating-a-site\">Creating a Blog\/Site<\/h2>\n<p>If you already use WordPress Multisite, you already know creating a new blog\/site is pretty simple, but let&#8217;s go through the steps anyway:<\/p>\n<p>1. In your network admin, go to <strong>Sites &gt;\u00a0Add New<\/strong> and enter the details you want for your new child blog\/site. When you&#8217;re done, click <strong>Add Site<\/strong>.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-13-AWPMU-Add-Site-02.jpg\" alt=\"Adding a blog.\" width=\"1050\" height=\"440\" \/><figcaption class=\"wp-caption-text\">Adding a blog.<\/figcaption><\/figure>\n<\/div>\n<p>You will have the option to create another child blog, but for now, click<strong> Sites<\/strong>\u00a0in the sidebar to check that your new site is there.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-14-AWPMU-Sites-02.jpg\" alt=\"Sites in the network.\" width=\"1050\" height=\"420\" \/><figcaption class=\"wp-caption-text\">Sites in the network.<\/figcaption><\/figure>\n<\/div>\n<p>Looking good!<\/p>\n<p>You can visit the new blog to check that it works and go to its separate admin dashboard to set it up. But for now, let&#8217;s check the multi-network database again in\u00a0PHPMyAdmin, and specifically, the database table ending in <em>_blogs<\/em>:<\/p>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-15-PHPMyAdmin-03-Blogs.png\" alt=\"Blogs in database.\" width=\"600\" height=\"145\" \/><figcaption class=\"wp-caption-text\">Blogs in the multi-network database.<\/figcaption><\/figure>\n<\/div>\n<p>You will see the new child blog\/site there: it uses <em>blog_id=3<\/em>\u00a0and <em>site_id=1<\/em>\u00a0because it\u2019s under AWPMU Network\/Multisite. Go to the LWPMU child\/slave Multisite network admin dashboard to create a new child blog\/site. When you log in to your &#8220;child&#8221; Multisite for the first time, you will be invited to upgrade your network, so do that before proceeding.<\/p>\n<p>Repeat step 1 to create <em>Blog 02<\/em>\u00a0in our child\/slave network (<em>site_id=2<\/em>).<\/p>\n<p>Then go to<strong>\u00a0Sites<\/strong>\u00a0in the\u00a0LWPMU network admin dashboard and verify the new child blog is there.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-17-LWPMU-Sites-02.jpg\" alt=\"Check the child blog is here.\" width=\"1050\" height=\"380\" \/><figcaption class=\"wp-caption-text\">Check the child blog is here.<\/figcaption><\/figure>\n<\/div>\n<p>Next, let&#8217;s take another look on\u00a0PHPMyAdmin. You will notice several new tables ending in 2, 3 and 4 (for the recently created Multisite and both the child blogs\/sites we have created (one for each network\/Multisite). The new child blog\/site has\u00a0<em>blog_id=4<\/em>\u00a0and <em>site_id=2<\/em>\u00a0in the database table ending in <em>_blogs<\/em>\u00a0. This means it&#8217;s under our child\/slave Multisite, in my case, it&#8217;s named LWPMU Network.<\/p>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-18-PHPMyAdmin-04-Blogs.png\" alt=\"Checking the child blog\/site in the multi network database.\" width=\"600\" height=\"178\" \/><figcaption class=\"wp-caption-text\">Checking the child blog\/site in the multi-network database.<\/figcaption><\/figure>\n<\/div>\n<h2 id=\"moving-a-site-from-a-network-to-another\">Moving a Blog\/Site From a Network to Another<\/h2>\n<p>Now let&#8217;s take a look at moving blogs\/sites between networks within the overall multi-network.<\/p>\n<p>1. Go to your child\/slave Multisite network admin dashboard. On my install, it&#8217;s located at <em>https:\/\/lwpmu.cloud\/wp-admin\/network\/<\/em><\/p>\n<p>2. Click on <strong>Sites<\/strong>, then hover your mouse over\u00a0<em>\/blog02<\/em> <em>Child-blog\/<\/em>. You will see the <strong>Move<\/strong>\u00a0command appear on the far right. Click it.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-19-LWPMU-Sites-03.jpg\" alt=\"When you hover over your sites more options will appear.\" width=\"1050\" height=\"340\" \/><figcaption class=\"wp-caption-text\">When you hover over your sites more options will appear.<\/figcaption><\/figure>\n<\/div>\n<p>3. Click on the drop-down menu and select \u00a0<em>https:\/\/awpmu.cloud\/<\/em>\u00a0as the new network for this blog\/site.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-22-Move-Blog-03.jpg\" alt=\"Select the new network for this blog\/site.\" width=\"1050\" height=\"380\" \/><figcaption class=\"wp-caption-text\">Select the new network for this blog\/site.<\/figcaption><\/figure>\n<\/div>\n<p>4. Next, click\u00a0<strong>Move<\/strong>\u00a0to make the move.<\/p>\n<p>You&#8217;ll see that\u00a0<em>Blog 02<\/em>\u00a0has disappeared from the<strong> Sites<\/strong> page. You can also check the message at the top of your dashboard confirming that the blog\/site was moved.<\/p>\n<p>6. Go now to your main\/master Multisite network admin dashboard. On my install, it&#8217;s located at\u00a0<em>https:\/\/awpmu.cloud\/wp-admin\/network\/<\/em><\/p>\n<p>7. Click on<strong> Sites<\/strong>. You&#8217;ll see that <em>Blog 02<\/em> is now there. You&#8217;ll also see that it&#8217;s still as\u00a0<em>https:\/\/lwpmu.cloud\/blog02<\/em>, but we want it to be under the\u00a0AWPMU domain. Hover your mouse over it, and click <strong>Edit<\/strong>.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-24-Move-Blog-05.jpg\" alt=\"Moving the blog\/site to the domain we want to use.\" width=\"1050\" height=\"440\" \/><figcaption class=\"wp-caption-text\">Moving the blog\/site to the domain we want to use.<\/figcaption><\/figure>\n<\/div>\n<p>8. Change the <strong>Site Address (URL)<\/strong>\u00a0from\u00a0<em>lwpmu.cloud<\/em> to <em>awpmu.cloud<\/em>, then click <strong>Save Changes.<\/strong><\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-26-Move-Blog-07.jpg\" alt=\"Updating the site address.\" width=\"1050\" height=\"540\" \/><figcaption class=\"wp-caption-text\">Updating the site address.<\/figcaption><\/figure>\n<\/div>\n<p>9. Click again on <strong>Sites<\/strong>\u00a0in the sidebar and check the new address.<\/p>\n<div  class=\"wpdui-pic-large   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-1050x1050 size-1050x1050\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-27-Move-Blog-08.jpg\" alt=\"Check the blog\/site is now using the correct site address.\" width=\"1050\" height=\"440\" \/><figcaption class=\"wp-caption-text\">Check the blog\/site is now using the correct site address.<\/figcaption><\/figure>\n<\/div>\n<p>10. Now, open\u00a0PHPMyAdmin again and find the\u00a0database table ending in <em>_blogs. <\/em>Check the new<em>\u00a0site_id<\/em>\u00a0for <em>blog02<\/em>. This confirms that both <em>blog01<\/em>\u00a0and <em>blog02<\/em>\u00a0are now running under the\u00a0AWPMU main\/master Multisite, both with <em>site_id=1<\/em>.<\/p>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-28-PHPMyAdmin-05-Blogs.png\" alt=\"The two blogs are now running under the AWPMU main\/master Multisite\\.\" width=\"600\" height=\"180\" \/><figcaption class=\"wp-caption-text\">The two blogs are now running under the AWPMU main\/master Multisite.<\/figcaption><\/figure>\n<\/div>\n<p>11. Repeat steps 1 to 9 above. Let&#8217;s now move our <em>Blog 01<\/em> from the AWPMU multi-network to the LWPMU network. Then go to the child\/slave Multisite network admin dashboard, click on <strong>Sites<\/strong>, and edit <em>Blog 01<\/em>\u00a0so that it&#8217;s running under LWPMU. Lastly, check\u00a0PHPMyAdmin again and you&#8217;ll see that <em>Blog 01<\/em> is now running under <em>lwpmu.cloud<\/em> (<em>site_id=2<\/em>).<\/p>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/05\/multinetwork-29-PHPMyAdmin-06-Blogs.png\" alt=\"Everything is running as expected!\" width=\"600\" height=\"180\" \/><figcaption class=\"wp-caption-text\">Everything is running as expected!<\/figcaption><\/figure>\n<\/div>\n<h2>Your Multi-Network is Now Up and Running!<\/h2>\n<p>You can now start planning and implementing your Multisites and their blogs\/sites under your multi-network.<\/p>\n<p>Remember that every network you create on your multi-network will have its own network admin dashboard and settings \u2013 they&#8217;ll share the same physical install and database, but they will behave as totally independent Multisites.<\/p>\n<p>From this point on, I encourage you to play as much as possible with your new multi-network!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress Multisite is an awesome tool in its own right that enables you to create a network of WordPress websites, but did you know it&#8217;s possible to create a network of Multisite networks, i.e. a network of networks? A multi-network allows you to have virtually infinite Multisite networks, all using a single WordPress install and [&hellip;]<\/p>\n","protected":false},"author":470596,"featured_media":164918,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[1117,263],"tags":[39,10644,9958,2876],"tutorials_categories":[],"class_list":["post-163920","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-multisite","category-tutorials","tag-hosting","tag-multi-network","tag-multisite-2","tag-network-admin"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/163920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/470596"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=163920"}],"version-history":[{"count":51,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/163920\/revisions"}],"predecessor-version":[{"id":223999,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/163920\/revisions\/223999"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/164918"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=163920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=163920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=163920"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=163920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}