Still cant get custom login page to work, I guess i am stupid, lol
-
Hello again, so i created a custom login page using WP Membership plugin. Thi snew login URL is https://sdlion.ca/membership-login I enabled Force Login and put into the functions.php file the below
function my_forcelogin_redirect() {
return home_url( ‘/membership-login/’ );
}
add_filter( ‘v_forcelogin_redirect’, ‘my_forcelogin_redirect’ );Now when you go to https://sdlion.ca it brings me to:
https://sdlion.ca/wp-login.php?redirect_to=https%3A%2F%2Fsdlion.ca%2Fmembership-login%2FRather than https://sdlion.ca/membership-login/
What did i do wrong?
Thanks and have a great morning, well where I am its morning… ??
The page I need help with: [log in to see the link]
- The topic ‘Still cant get custom login page to work, I guess i am stupid, lol’ is closed to new replies.