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 from Multisite: Uploads paths are only updated when url is also changed #97
Describe the bug
When importing from a multisite, the uploads path is only updated (e.g., from uploads/sites/n to uploads/) when the url is changed as well.
Steps to Reproduce
Export a site from a multisite
Import the site into another wordpress instance without setting old_url and/ or new_url
uploads paths are not updated in database
Expected behavior
Uploads paths should be updated even when url remains the same.
Describe the bug When importing from a multisite, the uploads path is only updated (e.g., from uploads/sites/n to uploads/) when the url is changed as well.
Steps to Reproduce
Expected behavior
Uploads paths should be updated even when url remains the same.