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.
Make sure the zip file structure is the same, no matter where the wp-cli command was called from.
The folders in the zip file will now always have the correct structure:
- wp-content
- plugins
- themes
- uploads
@nicholasio I was thinking of omitting the wp-content and having the subfolders directly on the root level, but opted to leave it as is.
This ensures that all existing exports will still work seamlessly, without the need of any code fixes to accommodate that.
Make sure the zip file structure is the same, no matter where the wp-cli command was called from.
The folders in the zip file will now always have the correct structure:
@nicholasio I was thinking of omitting the
wp-content
and having the subfolders directly on the root level, but opted to leave it as is. This ensures that all existing exports will still work seamlessly, without the need of any code fixes to accommodate that.