How do I get a new page to show up after a person logs in to my website?
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Ok...sorry for my bad English
Ok...I understand now. I will that. Thank you!
Dont need code.
One tip: You have a main page, for example "welcome, click login please" and on this page there is the login button that you will add manually, common button. You change the name of the button, write 'login' and to do link button to the second page that is the "welcome" page or any page you want.
The first page: You give permission for anyone to access.
The second page: You put a password restriction. (Password o login member)
What will happen: When the user accesses the first page and clicks the login button, it will be directed to a unique wix page for login, this page isnt created by you (by wix). After the user enters the password it will be directed to the second page that is the welcome page created by you.
Does that require using code?
I see that when I click the Login/Sign up button on my landing page and sign in, I'm re-directed to that same landing page after signing in, but I want my members to be directed to my Home page...it's a welcome page. How can they go directly to my welcome page after logging in to my website?
In your page of login, click en the button 'login', edit your button for:...> Link to> page> your page that you want.
Before, edit the permission of the page (member login o password)
..... So the user willl show like this.... LOGIN(button) > page for password (automatic from wix) > user input the password > final page
I want my members to be directed to another page on my website once they log in. I want them to go to another page after logging in on my landing page.
I'm getting an error message saying wixUsers is unidentified. I get the same message for wixLocation saying it's unidentified as well. Do I have to change these to something else?
Ok...I will try it. Thank you!
Use your own button and wixUsers.prompLogin() code, then when a user logs in use wixLocation.to():
wixUsers.promptLogin() .then( (user) => { wixLocation.to('/pageName'); })
Just to make the flow complete, on the page with your login button I would check if the user is already logged in:
$w.onReady(function(){ if (wixUsers.currentUser.loggedIn){ wixLocation.to('/pageName'); } });
Liran.