How to add 2 logins?

Hi, I was just wondering how I would add 2 separate logins. For example, you click the member login button and it takes you to login as a member then to the members site. The other button is sign in as a moderator where it takes you to the moderators site. You can use the same email to sign into member and moderator but it redirects you to a different site. If anyone can help me with this then I would greatly appreciate it! Thanks!

https://www.wix.com/corvid/forum/community-feature-request/have-different-members-groups

don’t understand a lot of that, I don’t think that site will work for me because I want to make it so when press button 2 ,redirect to Home, when press button 1, redirect to shop

https://support.wix.com/en/article/creating-member-roles-6943237
https://support.wix.com/en/article/creating-members-only-pages-596999
https://www.wix.com/corvid/reference/wix-users.User.html

So you basically have the same login for both access points, however when they login you check through code the users role and then take them to appropriate page.

However, you would need to name your members as something different than member as Wix only has three roles that it uses of Visitor, Member and Admin.

Otherwise, just make up yourself two login lightboxes, one for members and one for mods, which query the data from either your members dataset or your mods dataset and then which closes and redirects the user to whichever page they should go to.

Similar in style as to when you are doing a normal member and a wholesale member through Wix Stores.