WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If there is a network (multisite installation) with 10 sites inside. Is there a clean way to separate that site to its own site in a different server?


share|improve this question

We might need more details, but I'm going to assume that you are using subdomains, and that you want to retain the site's subdomain name on the new server. If that's the case, then all you should need to do is export the site, then import it on the new server. Then set up a new DNS 'A' record to point that specific site name to the new server's IP number. This should override the wildcard DNS domain pointer that multisite normally uses.

So, in your DNS setup, you should wind up with something like:

; DNS for example.com
*        A ; multisite wildcard entry
foo      A ; foo.example.com is on the new server

Make sense?

Depending on what else you've got going on, it might be more complicated. For example, you might have to search-and-replace in the .wxr export file to fix file paths for image uploads and such.

share|improve this answer
Recently I started to use sub-folder with a domain mapper plugin, which basically redirects to the right sub-domain. And yes, the client wants to keep the sub-domain. – Geo Mar 2 '11 at 15:37
Okay, that doesn't change anything for my answer. Export. Maybe fix file paths in the .wxr file. Import. Update DNS. – Dougal Campbell Mar 2 '11 at 16:49

The Tools -> Export button in the backend of the sub site.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.