WordPress multisite is a very useful add-on. Although not available for all new web development projects, this is useful when all the correct variables are in place. In the WordPress multisite flagship guide, we discussed how to activate multisite and create a site network in a single WordPress installation. If you follow the recommendations, WordPress multisite must work and run properly. But what if someone changes their mind and wants to move the site outside the multi site network? Or, what if you have a new idea for the site and want to add it to the site umbrella of the network? Alternatively, you may need to fully brand the multi site network and then import all these sites as new domain names. How do I migrate WordPress multisite? The
The following step-by-step guide will show you how to complete the three types of multi site migration. WordPress multisite migration guide WordPress multisite, but I realized what needed to be moved. For multi site networks, there are three migration scenarios to consider. Migrate a single site to an existing WordPress multisite network. Migrate a single site from the WordPress multisite network. Migrate the entire WordPress multisite network from one domain to another. You can hesitate to move around the network, but you don’t have to. Of course, this process is more complicated than moving from one domain to another, but it is also expected. You can migrate multiple sites immediately by following the steps described in the following three cases. The
Scenario \1: migrate a site to multiple sites. In this scenario, you will try to move the new site to the multi site network. Great! Here is one thing you should understand. Step 1 back up the single site installation and the multi site network. You can do this using one of the word press backup plug-ins. After step 2, disable all plug-ins in the single site WordPress installation. If one of the plug-ins conflicts with the export process (possibly), WordPress will make this recommendation. The
Navigate to the plug-in. Select the batch disable option for all plug-ins. Another matter recommended by Codex in the third stage is to delete isolated garbage comments. You don’t have to store and carry that data with you who don’t (and shouldn’t) use it. Step 4 navigate to the tools in the single site installation and click export. Here, you can export a copy of the site file to make it easier to set up on multiple sites. Select the all content radio dial button, and then click export file. The
Male save the XML file to the computer. Log in to step 5 multi site WordPress installation. You must create a new empty site here to place the migrated site. Navigate to my site > network administrator > site and click add new. Enter the following details for the new multi site sub domain: If someone asks you how to configure the site address (which becomes the subdomain name of the network) the site title (which may be the same as before) the administrator email, please check this guide to learn how to activate and configure multisite. The
Then click add site. Step 6 after adding a new site, the new sub item of the network
Navigate to the domain. In the top administration bar, when you move the mouse over my site, it will be displayed there. The first thing to do is to navigate to the site settings and modify the title and description. If you need to be different from before, you can change it now. Also, check your blog and permanent link settings. All items to be maintained at a single site will be updated here. If step 7 the multi site network does not use the same theme or plug-in as a single site, you must set it now. The
Not all word press plug-ins are multi site compatible, so make sure the network allows you to migrate the new plug-ins. To copy, you can do one of three things: You can use advanced plug-ins (including the following list) to copy and migrate themes and plug-ins. You can reinstall all plug-ins and theme files (at least those that do not already exist) on multiple sites from scratch. You can copy files from the WP content folder on a single site server to a folder on multiple sites of the subdomain. To do this, you must know the ID number of the new subdomain. If you are not sure what the ID number of the new subdomain is, go to the network dashboard. Click my site. Hover over the new site you created, and then click Modify. The following address bar is displayed: The
https:\/\/networkname.com\/wp-admin\/network\/site-info.php?id=14 \
Upload the XML file stored here. A message will then be displayed asking who the copyright is assigned to. It can be assigned to the current user or a new user in the network. Click the and import attachments check box to save your changes. If you have a component in a single site that you want to move to the subdomain of step 10, you can easily do so using a plug-in called import and export components. By default, only parts are subject to the same export \/ import process as site content. The
Complete the component data export according to the plug-in steps. Step 11, now go to the new subdomain of the multisite network. Does everything look all right? Are all images in place? Is the default navigation correct? Do all plug-ins appear to be working properly? Is this transport missing a custom theme? Do all blog posts have the right authors? Wait. Check the site carefully to make sure everything goes as expected. If you decide to provide a custom domain (the previous domain that previously existed individually) for the child domain of step 12, you can use a domain mapping to do this. The
After the site in step 13 is run and loaded into the network, the previous WordPress site must now be deleted. If a single site migrated without using a custom domain on multiple sites no longer needs its own hosting, please delete the WordPress site and cancel the domain and hosting account. If you use custom fields on multiple websites, you can
You must delete to unmanage the account. Scenario \2: using a single site migration shipper on multiple sites, you can easily migrate multiple sub sites to a single WordPress installation with just a few clicks! Avoid the hassle of manual migration… Please view the tutorial here: migrating a child site to a single site, and then what you need to do to complete the reverse process. Back up the first stage WordPress multi site network. Step 2 purchase the web hosting plan and domain name of the new WordPress site. (if you have purchased a custom field for mapping fields, the second half has been completed.). Step 3 log in to your new web hosting account and navigate to one click WordPress setup. You can and launch WordPress for your new site here. You can also import a copy of word press here. In step 4, export and import the content in multisite, because the corresponding data can only be imported directly from the database table. Log in to the multisite control panel and navigate to phpMyAdmin. In the table that appears under the network folder, find the corresponding table for the site that you want to migrate to outside the network. The ID number matches the number of the process described earlier. When viewing the list of sites on the network, click the Edit button on the migration site to find the ID number added to the end of the web address. The URL is as follows: https:\/\/networkname.com\/wp-admin\/network\/site-info.php? Use id=14 ID number to select all tables related to this site. When all are selected, click the Export button at the top. The file exported in stage 5 is. SQL format. Create a copy and rename it. Now you will open it in a code editor, such as atom, and try to adjust the site’s domain (if you have not already mapped to a custom domain). You can view the following sites on the network: https:\/\/networkname.com\/subdomainname\/ But when importing it into a new site, I want to say: https:\/\/mynewsitename.com\/ Perform a search and replace in the file, update all instances in the domain, and save the changes. Step 6 must be changed again in this file. Remember the previous site ID? Unclear, should not exist in a database table used for a single word press installation. Therefore, please replace \
If you have parts that you want to copy to a multisite network at the primary site, you can use the import and export parts plug-in to copy. Please take 10 steps to view the settings of the new WordPress site. Please configure the metadata and blog settings of the site correctly. Step 11 visit the new real-time website and perform a complete check to ensure that everything is achieved. You may have customized the plug-in and theme settings because you want to start with a new theme and create a unique experience on multiple sites. However, it is recommended that you check and make sure that everything is in the right place. Step 12 If you are satisfied with the newly migrated site, you can return to the multi site network and delete the site from the site list in the network dashboard. Scenario \3: migrate WordPress multisite to another domain. Finally, discuss the migration of WordPress multisite from one domain to another. Installing a new word press it doesn’t take much to install or configure word press themes and plug-ins. Instead, rename all back-end files to reflect the new domain name of the network. The following actions are required: The first step is to back up the multi site installation. If step 2 has not been completed, purchase a new domain name for your network. Then, connect to the same web hosting account with multiple sites. After step 3, select WP config in the root directory of the site. You must edit the PHP file. It can be accessed through file manager or FTP. When you find the file, click the Edit button to open it. Now, when configuring WordPress for multiple sites, some code has been added to this line\/* That’s all, Stop editing! Happy blogging*\/ In this case, the rows to update are as follows: Define (‘domain_current_site’,’yournetworkname.com’); Update \