How to use separate database with differrent server adresses, with different username and password on wordpress for users login data data, and be able to use it on 2 wordpress installs, but with separate permissions but with shared login.

1 Answer 1


Im not sure this can be done on a separate sever hosts but if you have two websites that are on different URLs but hosted on the same server host this can be done with using the same database and using different prefix for each install.

This link will show you how. share users

  • I need it on separate hosts, and also to have shared login session
    – user86168
    Nov 28, 2016 at 11:28
  • I think the link I sent shows how to do shared session but not sure you are able to do this across hosting providers I could be wrong.
    – Sam Miller
    Nov 28, 2016 at 20:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.