Hi all, I am using Wix default login/sign up but I want it to direct members to a specific page. I am some what html litterate but please be gentle.
check out Login API https://www.wix.com/corvid/reference/wix-users.html#onLogin .
you can use [wixlocation.to('page](wixlocation.to(‘page) name’) inside the onlogin function.
(add this code to the site page code)
Where do I insert that? I’m using Wix default login so I haven’t actually setup a login page myself
well, i tried to use it myself but it seems that you cant catch login event with onlogin using the default login page,
You can either redirect to the page that you want inside homepage code depends on some variable inside wix session storage or create your own login / register pages and handle the redirect logic inside them.