By jockebq

2018-03-14 08:14:28 8 Comments

I'm not talking about subdomain/subfolder. I am talking about moving my whole Wordpress Multisite installation to And keeping the root for another non-multisite install of wordpress. I tried creating a folder /ms/ in the root. Moved everything there. Went to wp-config, changed to define('DOMAIN_CURRENT_SITE', ''); Then went to phpmyadmin and changed every setting that had to

Still can't make it work?

How do I do a successful move?


@Stefano Tombolini 2018-03-15 14:48:01

A recent article on WPMU DEV explained this kind of migration.

As far as I understood from the conversation with Patel, you just miss the second part of Step 4 (single sites db tables).

Step 1

First and foremost, back up your Multisite installation.

Step 2

If you haven’t done so already, purchase that fancy new domain name for your network and associate it with the same web hosting account that your Multisite currently lives on.

Step 3

You’re going to need to edit the wp-config file in the root directory of your site. You can access this either through your File Manager or FTP. Once you’ve located the file, click on the Edit button to open it. Now, when you configured WordPress for Multisite, you added some code above this line:

/* That's all, stop editing! Happy blogging. */

The line you need want to update in this case is this one:

define('DOMAIN_CURRENT_SITE', '');

Update “” with the new domain name you want to use. You then need to add the following two lines of code above the “That’s all, stop editing!” message:


Save your changes and exit.

Step 4

The database files for your Multisite now also need to change to reflect the new domain name of the network. Log into phpMyAdmin. From here, you’re going to need to search for your network’s database tables. Specifically, these are the ones that will require an update from the old domain name to the new one (these are all preceded by “wp_”):

blogs > domain
options > home
options > siteurl
sitemeta > siteurl

In addition, you also need to update the following tables for each of the sites that exist on the network. The pound sign (#) below is where you will see the actual site ID number.

#_options > siteurl
#_options > home
#_options > fileupload_url

Once you have renamed the domain in every instance in which it appears throughout your database tables, you can save your changes and close. Your site should now be fully migrated to the new domain name.

Step 5

Don’t forget to change the name of your site as well as the web address within WordPress.

@jockebq 2018-03-16 14:22:06

I have followed every step here. I am as far as being able to reach the main page and /wp-admin/, plus I can reach /network/wp-admin/. But all the network site, like one called demo is unreachable from both /ms/demo and /ms/demo/wp-admin/, I get 404 not found. I have edited the URL in this sites database entries. What am i missing?

@Jignesh Patel 2018-03-14 08:47:43

Follow this steps:

you can move your multi-site root to ms folder Then

step 1: change the database url into options table for both site and all other url.

ex: TO

step 2: DB wp_site table SET your domain name and path:

ex: domain
    PATH: /ms/

DB wp_blogs table SET your domain name and path for both site:

ex: domain
    PATH: /ms/
    PATH: /ms/your-newtwok-site-name/

step 3: httaces code and wp-config code comments for multi-site. only default code are reaming

step 4: Run your main site it's work after add this line into config.

define( 'WP_ALLOW_MULTISITE', true );

step 5: Login into admin and goto the tools menu. if it's display the message like your plugin disable then disable your plugin and get your new httaces and wp-config code for multi-site after that enable your plugin.

i am done my multi-site move to local to live. hope is work for you.

Note: Please backup your db and files.

@jockebq 2018-03-14 21:21:24

I have done all this, not successful. Dont know what i miss!

@Jignesh Patel 2018-03-15 03:45:36

what error give by them? and your main site is working?

@jockebq 2018-03-15 06:55:03

I can make this main site working, but not the network sites, and I cannot login with /wp-admin/ (get an error page).

@Jignesh Patel 2018-03-15 07:00:14

OK i will check

@Jignesh Patel 2018-03-15 07:52:07

you can change into wp_blogs and wp_site table into database

Related Questions

Sponsored Content

2 Answered Questions

[SOLVED] Wordpress mutisite migration

1 Answered Questions

[SOLVED] Create new multisite from existing and keep domain?

  • 2018-06-21 14:40:23
  • timmyg
  • 17 View
  • 0 Score
  • 1 Answer
  • Tags:   multisite domain

1 Answered Questions

[SOLVED] WordPress url transformation script

1 Answered Questions

[SOLVED] All Network sites display as main blog

  • 2015-11-18 19:13:52
  • JoeMoe1984
  • 88 View
  • 0 Score
  • 1 Answer
  • Tags:   multisite

1 Answered Questions

1 Answered Questions

[SOLVED] Site not found using subdomains

  • 2014-03-19 17:17:33
  • Reg Gordon
  • 869 View
  • 1 Score
  • 1 Answer
  • Tags:   multisite

1 Answered Questions

Sponsored Content