Copy a user from one WordPress site to another

You need to make sure the new ID of the user in the user table matches the foreign key in the usermeta.

Also a word of caution regarding your comment on Active Directory integration. For public facing websites be extremely careful, you could inadvertantly expose you domain controller information to the web. You might want to consider additional security precautions around the login and admin pages, for example limiting access to certain IP addresses or dual authentication.

Leave a Comment