I have managed to come up with what i hope to be a solution but will need further guidance am I’m not all to familiar with the .JS
The idea is to create a custom login and then using the ‘wixUsers’ to redirect to a specific page.
import wixUsers from ‘wix-users’ ;
import wixLocation from ‘wix-location’ ;
$w.onReady( function (){
$w( ‘#loginNow’ ).onClick( function (){
let email = $w( ‘#loginEmail’ ).value;
let password = $w( ‘#loginPassword’ ).value;
wixUsers.login(email,password)
.then(()=>{
wixLocation.to( ‘/wixUser’ );
})
})
})
for example,
if JOHN logs in and is a valid user ‘wixUser’ then he gets redirected to www.domain/JOHN
from there i could create a page titled JOHN and the redirect would work ???