1st way to import single site into existing multisite
- Crate New WordPress Multisite
- Login to single WordPress site & exports Posts and Pages
- Import into New WordPress Multisite.
All content
This will contain all of your posts, pages, comments, custom fields, terms, navigation menus, and custom posts.
Posts
Pages
Media
for import: tools>>install /run importer >> select xml file >. tick the download & import file attachments.
wait for import process to complete if any mismatch try import same file again untill all posts & media imported.
change permalinks.. adjust plugins and themes and options to new wp multi sub site.
2nd ways merge new single w0rdpress into multisite database method
1st create a single site in multisite and remeber the blog id to identify db tables >>>
Just export the posts & Posts meta tables. if required taxonomy taxonomy meta tables for categories & tags. delete existing WordPress database tables.
3rd way Prime mover plugin easy way
Install prime mover go to sites and create package export with databse and file while exporting create a multisite on other wordpress . insert blog id to export.
restore to blog id number . it works perfect but for main site we need to upgrade or manual methods we use.
Complete full backup (Database + Plugins/Themes + Media files)
How wordpress prime mover plugins works
-
Migration:Prime Mover allows you to move single-site installations to other single-site installations or multisite subsites. It also enables migrating multisite subsites to single-site or other multisite subsites.
-
Backup and Restore:The plugin can create backups of single-site or multisite subsites, allowing for easy restoration at any time.
-
Search and Replace:Prime Mover automatically handles search and replace of URLs, paths, and other data during migration, making the process seamless.
How wordpress prime mover plugins creates backup
will wordpress export categories along with postsYes, WordPress can export categories along with posts. When you export posts using the built-in export tool, it will also include the categories and tags assigned to those posts in the exported XML file.