Can Someone Help Me Think This Through?

I need to create a Member Login (for which I am fine using the normal Wix Member Login), but in this manner:

From the Header, they Click on Login/Signup. Upon signing up or logging in, they are automatically taken to the Members Only Home Page. It is this step that I am having trouble figuring out. I looked through the wix-users API and there seems to be alot of functionality in there, but I didn’t see anything that would allow me to direct them to a specific page upon logging in. Anybody have any ideas?

Or should I just have a Members Page in my Nav Bar that, when you click it, it checks to see if you are logged in and if you are not, prompts you to do so? I saw that functionality in the wix-users API. That way, if they have already logged in, they can access that page, but if they are not logged in, they cannot access the Member area. And since that page is the portal to the whole Member area, it would add a safety feature, yes?

Hi,

currently we don’t really have a method for custom navigation after login. But adding a link to Members Page and protecting it to only be accessible to logged in members is certainly doable. Depending on your link, you may even be able to hide it if the user is not logged in.

You can protect pages by going to Page Settings → Permissions and selecting “Members Only”.

Hey
You can always use the .to function in wix-location if you want to redirect them when they have logged in. We do this is a project, we check some stuff and if the user haven’t filled out their user profile we redirect them to a user profile page, if they have filled it in we redirect them to the members portal page.

more info:

Hmmm, ok. I will read what Andreas attached and see if I can figure out the rest. I’ll let you guys know how I do.