i have multisites installed single code and database, and 1 user table.

  • users are classified as different types,
  • and user get register from site1 or site2

i need to do is if user has type of site2. and if he is trying to login to mysite.com, user type is checked and redirect to specific site and login the user to that site.

Your Answer

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

Browse other questions tagged or ask your own question.