10up / MU-Migration

This WP-CLI plugin makes the process of moving sites from single WordPress sites to a Multisite instance (or vice-versa) much easier. It exports everything into a zip package which can be used to automatically import it within the desired Multisite installation.
MIT License
329 stars 47 forks source link

import into a single site #25

Closed soderlind closed 7 years ago

soderlind commented 7 years ago

Can I use this to import into a single site, i.e. export a subsite and then import it into a single site?

nicholasio commented 7 years ago

It doesn't really support this scenario, but it isn't that hard to support this (feel free to submit a PR), assuming you want to override the whole content of your single site with the content of the site you're importing. However, If you don't want to override the existing content, then you got a merge sort of problem, and you probably need a custom migration plan and scripts.

nicholasio commented 7 years ago

I actually started to work on this on #26, feel free to test it out.

soderlind commented 7 years ago

Excellent, thank you. Will test.