WordPress Multisite Migration: Step-by-Step Guide to Move Without Downtime

migrate-wordpress-multisite

Do you wish to migrate WordPress multisite to another server or web host? Because of the complex nature of a multisite, migrating it to a different location isn’t as straightforward as migrating a single WordPress site.

You might have several questions before you begin.

  • Will the WordPress multisite migration cause downtime on my site?
  • Would I have to edit core WordPress files?
  • Would I have to change any settings?
  • Is it too hard?

It’s natural to have these questions. But fear not. In this guide, we’ll explain how to move WordPress multisite via different methods that are known to work.

TL;DR: Migrating a WordPress multisite carries some risk. You can alleviate that risk, save a lot of time, and prevent potential headaches by using Migrate Guru, a dedicated WordPress migration plugin that has migrated over 100,000 sites. It is easy to use, and works with all web hosts.

What kind of multisite migration are we talking about?

There are different types of WordPress Multisite migrations.

  • First, you might move a whole multisite network from one host to another. This is a complete migration and is similar to moving any WordPress site.
  • You might also rebrand a multisite. This involves changing the domain and all URLs.
  • Sometimes, you’ll need to do both: move the multisite to another server and change its domain.
  • Another type is converting a multisite subsite into a single WordPress site.
  • Finally, there’s also moving a single WordPress site into a multisite network.

In this article, we focus on moving the entire multisite to a new host. We will also cover the domain change, just in case.

🌟 A successful WordPress multisite migration means your site works perfectly at the end. All parts of the multisite should function, links should open correctly, and media should display properly. Plus, there should be no downtime. Not for a single subsite.

Prepping for a WordPress multisite migration

Before you get started on the WordPress multisite migration process, make sure you do the following (this will prevent any unnecessary hiccups or time sinks during the multisite migration process):

  • Take a full backup your multisite. Always do this, whether you’re using a plugin or doing it manually. Consider this your safety net.
  • Disable caching, firewall, and redirect plugins. Check the .htaccess file for any IP blacklists, whitelists, or redirects.
  • Set up maintenance mode to keep users from making changes during the migration. A plugin like WP Maintenance Mode works well for this.
  • Identify the folder with your site files; this is the root directory. It’s usually at the top of your site structure.
  • Choose a web host and plan. You should have one ready, but if not, pick one with good performance guarantees. Your host should keep the site up and loading fast, with dependable support and fair pricing.
  • Buy a domain if needed. If changing domains, you’ll need a new one. Your new host might bundle one in, or you could get it from a domain registrar.
  • Install WordPress on your destination host.
  • Get FTP/SFTP credentials of both your existing web server as well as those of the server you’ll be migrating to.
  • Make sure the PHP versions on the source and destination sites match. While this isn’t necessary, it can help prevent certain errors after the migration has been completed, like the HTTP 500 Error.

Option 1: Migrate multisite using a plugin

Migrating a multisite using a dedicated WordPress multisite migration plugin is probably the easiest and fastest way to do so. However, not all migration plugins are built equal, which is why we highly recommend using Migrate Guru. It can migrate multisites out of the box for free, which is usually a paid feature for other plugins.

Moreover, it works with any web host out there and powers the migration feature of popular web hosts like WP Engine, Flywheel, Cloudways, and more.

  1. Install and activate Migrate Guru on your website.
  2. Next, enter your email address to create an account, then click on Migrate Site.
create an account in migrateguru
  1. On the next page, pick the host you want to migrate to. If your destination host isn’t listed, choose either cPanel or FTP to continue.
select the host your are migrating multisite to
  1. Next, enter your details and click Migrate to continue. If you chose FTP in the previous step, you would have to enter the FTP credentials of your destination server here.
enter the FTP details for WordPress multisite migration
  1. Migrate Guru will now validate your FTP credentials and start the migration process. You can also see how much progress it has made during the migration via the progress bars.

That’s it! How easy was that? Once the WordPress multisite migration is complete, you’ll see a confirmation message on the screen along with a link to visit the migrated site at its new location. You’ll get a confirmation email too on the email address you used in step 2.

Option 2: Migrating a WordPress multisite manually

Migrating any site, let alone a multisite, is a non-trivial endeavor and carries a certain amount of risk. It’s why we strongly recommend using a dedicated migration plugin to move your WordPress multisite. If, however, you don’t want to install yet another plugin on your site and would prefer to carry out the migration yourself, don’t worry. We’ve got you covered.

Note that this method is more technical than the other methods we’ve discussed in this article, requiring you to make changes to core WordPress files and your database. It also takes a much longer time to complete the migration when compared to the other methods and is error-prone too. If you want to proceed to do the WordPress multisite migration manually anyway, we’re reminding you to take a full backup of your site.

Step 1: Download WordPress files

In this step, you’ll download the WordPress files of your multisite to your local computer. To show how, we’ll use the popular FileZilla FTP client.

  1. Connect to your multisite remotely using FileZilla as shown in the image below. You’ll need the FTP credentials of your site to do so.
Connecting to FTP
  1. Navigate to the folder on your local computer, from the left-hand area labeled ‘Local site,’ where you would like to download the WordPress files of your multisite.
  2. Find the root directory of your multisite’s WordPress installation on the right-hand area labeled ‘Remote site,’ right-click on it, and click on Download. This will start downloading the WordPress files to your local folder.
download public_html folder

Step 2: Download the database

In this step, you’ll export the database of your multisite. You’ll import this data into a new database in a later step. To export your database, you’ll need access to the database manager of your multisite. The two most popular ones are phpMyAdmin and Adminer. It’s highly likely that your web host uses one or the other. For this part, however, we’ll use Adminer to illustrate the steps. Both Adminer and phpMyAdmin work in mostly the same way, so you should be able to apply the steps here for phpMyAdmin without any problem.

  1. Open the Adminer dashboard for your multisite. It should look something like this:
adminer dashboard
  1. Click on Export from the left-hand pane.
click on export for downloading the database
  1. Select ‘save’ as the output, SQL as the data format, and then click on Export.
exporting WordPress database
  1. In the pop-up window, give the SQL file a suitable name and download it to your computer.

Step 3: Create a new database and user

To be able to import the database that you exported in Step 2 into your new web server or host, you need to create a new database. This new database will act as the new home for your multisite’s data and settings. we’ll use Bluehost as an example to show how to create a new database. The steps for any other web host will mostly be the same (the option to create a new database will be in the ‘Databases’ section of your hosting account’s dashboard or cPanel).

  1. Go to Advanced > Databases from the left-hand navigation menu.
Select database
  1. Under the section ‘Create New Database,’ provide a name for your new database, then click on Create Database. In this example, we’ve named the database ‘mybhsite_home_for_new_database.’
creating new database
  1. Now, we’re going to add a new database user for our account. Scroll down to ‘Add New User’ under ‘MySQL Users.’ Choose a username and a strong password for this user, then click on Create User to finish creating.
creating the new user
  1. Now, add the user you created in Step 3 to the database you created in Step 2 as shown in the image below.
Add user to database
  1. On the next page, assign all privileges to this new user and then click on Make Changes.
Assigning privileges to user

That’s it! You now have a new, blank database on your new destination server.

Step 4: Point the WordPress config file to the new database

The wp-config.php file is a critical file of your WordPress installation. It is located in the root directory of your website and contains your website’s base configuration details, like database connection information. This file is what WordPress consults to communicate with the database. So, if it isn’t configured with the correct database information, a visitor won’t be able to access the site.

Right now, your multisite is connected to your old database. In this step, you are going to connect it to the new database that you created in the previous step.

  1. Find the wp-config.php file in the folder you downloaded in Step 1 and open it.
  2. Modify the following lines of code with the correct information related to your new database.
define('DB_NAME', 'new database name here');
define('DB_USER', 'username for the new database');
define('DB_PASSWORD', 'password for the new database');
define('DB_HOST', 'new MySQL hostname');
configuring wp-config.php file
  1. Save the changes and close the file.

Step 5: Upload the old database

Again, we’ll use Adminer to illustrate the steps.

  1. Launch Adminer on your new host or server.
  2. Select the new database that you created in Step 3, then click on Import.
Database manager
  1. Choose the SQL file to import, and then click on Execute to start importing.
Importing SQL file

Importing the data can take a while if the database is huge. After a successful import, you’ll see a message confirming so.

Step 6: Upload the old WordPress files

In this step, you’ll upload the WordPress core files that you downloaded in Step 1 to your new server. we’ll use the FileZilla FTP client to illustrate the process.

  1. Connect to the server you’re migrating to on FileZilla.
Quickconnect via filezilla
  1. Navigate to the folder where you downloaded the WordPress files of your multisite in Step 1 in the left-hand pane of FileZilla labeled ‘Local site.’
  1. Next, right-click on the folder containing your WordPress multisite’s files, and click on Upload. This will upload the WordPress files to your new server. If your server already has a WordPress installation, those files will be replaced.
Choose upload

And that is it. WordPress multisite migration to a new server is succesfull. After all the files have been uploaded, you’ll see your multisite at the new location.

Option 3: Move WordPress multisite using your web host

Did you know that you could migrate your multisite via your web host? Most hosts provide a free migration service to facilitate the migration of your site to them. In fact, BlogVault powers the migration feature of several web hosts including Flywheel, Dreamhost, and many more.

In this section, we’ll show you how you can migrate your multisite to a new host or server using your destination web host. We’ll use WP Engine as an example. The steps should largely be the same for your destination host. The main difference lies in the location of the migration feature in the hosting account’s dashboard.

  1. Install and activate the WP Engine Automated Migration plugin on your multisite.
  2. Enter your email address, agree to the terms of service, then click on Get started.
WP engine migration plugin
  1. The plugin will check your site for migration readiness. Once it confirms that your site is migration-ready, click on Migrate to proceed. You’ll be taken to the migration form.
Migration readiness
  1. Enter your site’s URL and the SFTP credentials you received from WP Engine. By default, the plugin only migrates the database and files found in the wp-content directory. Check the relevant boxes if there are additional root directories and/or database tables that you want to migrate. When you’re done, click on Migrate to continue.
Enter Necessary info

The WP Engine Automated Migration plugin is powered by BlogVault. It will validate your details on the next page and then start the migration process.

Once the WordPress multisite migration is complete, you’ll see a confirmation message on the screen.

migration completed successfully prompt

What to do after the multisite migration

Even though the WordPress multisite migration is technically complete, there are some additional things you need to do to ensure a smooth transition for your multisite. They are as follows:

  • Clear your website’s caches. These include the caches of your WordPress installation, browser, and plugins.
  • Test every critical component of your site to make sure it’s functioning properly. This includes the theme, pages, posts, hyperlinks, images, analytics code snippets, and ads.
  • Disable maintenance mode if you had enabled it before starting the migration.
  • Reactivate SSL on your new site if your new web host didn’t add it automatically after the migration. Use the Really Simple SSL plugin to do so quickly and easily.
  • Make sure the following tables in the database have the correct information related to your multisite.
    • wp_options
    • wp_site
    • wp_sitemeta
    • wp_blogs
    • wp_#_options

Troubleshooting WordPress multisite migration issues

We hope you won’t need this section. But if you chose the manual route, you might face some issues.

Even with a thorough migration checklist, problems can arise. Each multisite, host, and network is unique, and they don’t always align seamlessly.

Let’s address the issues you might encounter on your new hosting.

Design is broken

If you didn’t use Migrate Guru or did the migration manually, a backup is essential. Restore this backup on your original hosting and check the settings. Update all outdated plugins and themes, and remove unused ones. If a page builder is causing trouble, deactivate it and switch to a default theme.

Site or subsite isn’t loading

Changed URLs when switching domains? You might need to run a search and replace in the database to update the old domain to the new one. Consider using a specialized tool or plugin for this. Doing so manually might break any serialised data stored by plugins in the database.

Migration plugin failed

This could be due to your site’s size. Large databases can be tough for many plugins. Migrate Guru is suited for bigger sites, so try it if size is a concern.

Error Establishing a Database Connection

As the name implies, this error indicates a database connection issue. Was there a different database prefix on the original multisite? Check the wp-config.php file. If it was changed from the default, you need to fix this on the destination site.

Ensure the database credentials (DB_NAME, DB_USER, DB_PASSWORD, DB_HOST) are correct.

Critical error

Though vague, this error often signals a PHP issue during migrations. Troubleshoot WordPress errors using standard methods.

If none of the above solutions work, contact your host’s support team or hire a developer. If a migration fails, consider wiping the server, reinstalling WordPress, and using Migrate Guru.

If your issue isn’t listed here, seek help from your web hosting provider or the official ​​WordPress support forums. If you still haven’t solved your problem, we suggest taking the nuclear option: reinstall WordPress on your destination server, restore a backup of your site, and use Migrate Guru to move it. Trust us, it just works.

Conclusion

As you probably witnessed from the article, WordPress multisite migration to a different server or web host isn’t all that complex. It is quite an undertaking nonetheless and there are chances that you may mess something up if you decide to migrate your site manually. The manual method also takes up a humongous amount of time, with all the setup, editing, and pathetically slow speeds of FTP.

It’s why we highly recommend using a dedicated migration plugin. Now, there are quite a few migration plugins out there, but our personal recommendation is Migrate Guru. Using it, you can migrate your entire multisite network easily and safely to any location with a few clicks. All you’ll need are the FTP/SFTP or cPanel credentials of your destination server. Moreover, it can migrate your site to any web host on Earth. Migrating WordPress sites has never been easier!

FAQs

How can I migrate my WordPress multisite?

The three main ways you can migrate WordPress multisite are:

Using a plugin;
Doing it manually via FTP; or
Using your web host’s migration feature (provided it has it).

Out of these, we highly recommend using a plugin and Migrate Guru in particular.

What is multisite rebranding and how do I do it?

Multisite rebranding is the process of changing the domain or URL structure of your WordPress multisite network, often as part of a migration or major update. It involves updating site URLs in the database and ensuring all content and links reflect the new branding without breaking the network functionality.

What are some of the common challenges during WordPress multisite migration?

Common challenges include downtime risks, broken links, missing media, and issues arising from multisite rebranding, such as improper URL updates. Careful planning and tools like dedicated plugins can reduce these problems.

What is a good plugin I can use to migrate my multisite?

Migrate Guru is a great plugin to migrate multisites. It’s easy to use, can do the job really quickly, and requires no setup from your end. Moreover, it works with every web host out there.

Tags:

You may also like


How do you update and backup your website?

Creating Backup and Updating website can be time consuming and error-prone. BlogVault will save you hours everyday while providing you complete peace of mind.

Updating Everything Manually?

But it’s too time consuming, complicated and stops you from achieving your full potential. You don’t want to put your business at risk with inefficient management.

Backup Your WordPress Site

Install the plugin on your website, let it sync and you’re done. Get automated, scheduled backups for your critical site data, and make sure your website never experiences downtime again.