Issue with redirect in a custom page
-
Dear Kevin
i have a website for example
http://www.website.com/members/
and i have a custom login page http://www.website.com/members/sign-inI want to use your great plugin, but insead opening in default wordpress admin login page to redirect to http://www.website.com/members/sign-in/
I try several codes in functions.php from other support tickets in your plugin but probably i do somehing wrong
Pls tell me in order to do the above what i add to my functions.php?
i send a code to check if this is right
======================================
`// Custom Registration URL
function my_registration_page( $register_url ) {
return site_url( ‘/members-area/sign-in/’, ‘login’ );
}
add_filter( ‘register_url’, ‘/members-area/sign-in/’, 10, 1 );`is this the right one? i have add my custom url but its not working.
i would really appreciate your help
kindest regards,
Xristos
- The topic ‘Issue with redirect in a custom page’ is closed to new replies.