Moving Users when moving single site into Multisite Network – Help!

Hi!

I moved over a single site into a multisite network, but the users didn’t migrate over. How do I go about moving all 100 users over to the new site to make sure they can still login and edit their posts?

Any info would be helpful!

Ryan

  • Rupok
    • Ex Staff

    Hi Ryan,

    Thanks for asking. To sync users from one site to another, you can try our User Sync plugin: https://wpmudev.com/project/wordpress-user-synchronization/

    With this plugin, you can easily sync all your users from the source site to your target site. You will get full usage guide of this plugin here: https://wpmudev.com/project/wordpress-user-synchronization/#product-usage

    But if you want to transfer users from one site to another just once, you can try this plugin: https://wordpress.org/plugins/cimy-user-manager/

    I believe, these will help. Please let us know if you have any confusion or any further query. We will be glad to help.

    Have a nice day. Cheers!

    Rupok

  • ryanseale
    • Flash Drive

    So I can sync users from a single wordpress install site to a subsite of a multisite network? We migrated the site into the network but the users didnt come. If I readd them individually, then I don’t know how the users will be associated with their posts?!

    You think these plugins will solve that issue?

    Thanks for replying. I REALLY appreciate the feedback. This new multisite stuff is a bit problematic but I hope its worth it!

    Thanks again,

    Ryan

  • Kasia Swiderska
    • Support nomad

    Hello ryanseale,

    If you already migrated posts to new subsite they got new author (it should be your administrator user). Then if you will import users they won't be anymore authors of the posts. So that does not solve your problem.

    Users need to be imported with posts at the same time. I don't know what method you used, but with native WordPress importer you have option to "Import author" and then users are created in subsite.

    That method is described here https://wpmudev.com/blog/move-wordpress-site-multisite-network/

    If this is for posts only, I would suggest removing those posts and trying import them again with their authors (only if single site is still online) as described above (make a backup of site before doing anything).

    If not then when you import old site users then you will need to change manually author of the post to old user.

    [attachments are only viewable by logged-in members]

    kind regards,

    Kasia

  • ryanseale
    • Flash Drive

    Thanks Kasia… I appreciate the information. This multisite migration has been a bit difficult, but hopefully we can make it through to the other side!

    The users seem to be created on the MASTER site but not on the individual site. But when I look at the custom posts (we're using a theme with WP Job Manager) we can see the custom post associated with the user.

    I'll attach two images: one of the single user in the site, but another with a list of the custom posts showing that the author information is there.

    Still trying to sort this all out. Thanks for the help Kasia!

  • Nithin Ramdas
    • Support Wizard

    Hi ryanseale,

    Hope you are doing good today. :slight_smile:

    If you are still looking to troubleshoot this further, could you please enable support access to both your site, so that we could have a better idea regarding this.

    You can grant access from WPMU DEV > Support > Support Access > Grant Access, or check this manual: http://wpmudev.com/manuals/wpmu-dev-dashboard-enabling-staff-login/

    Please let us know once you enable access, so that we could get this sorted. Have a nice day. :slight_smile:

    Kind Regards,

    Nithin

  • ryanseale
    • Flash Drive

    I just enabled access. Thanks!

    You can see the users in the Master Network user list. But they don’t appear on the subsite VolunteerHub.ca. But when I look at the subsite, I can see the posts are still associated with the users. But when I click on the author, it takes me to the Master Network user list. In the subsite, it says there is only one user.

  • Nithin Ramdas
    • Support Wizard

    Hi ryanseale,

    Hope you are doing good today. :slight_smile:

    I checked your website, and I could see the users are only listed in your Main site, and it isn’t showing in the subsite. In a multisite network users are global, so it’s correctly listed in the main site, however it should have also listed in your subsite too, it might be related to having incorrect user_id. To be sure, could you please check whether the custom posts are using the correct user_id in your multisite.

    You might find the following article helpful, as it explains clearly about it, under “Cleanup

    Users” heading:

    https://deliciousbrains.com/wp-migrate-db-pro/doc/exporting-single-site-as-subsite-for-multisite-install/

    Once these ids are updated correctly, I suppose it should list the users in your subsite. Please do check with your WP Job Manager plugin developer to see whether you aren’t missing out any user ids related to these custom post types in any other table.

    I hope this helps. Please check, and see whether this is the case, and let us know how that goes. Have a nice day. :slight_smile:

    Best Regards,

    Nithin