redirect login issue
-
I′m tryning to redirect after login to another url site using this snippet
https://wpjobmanager.com/document/changing-login-redirects/
but don′t works for me in functions.php (crash)I want redirect after login to: https://www.traslabarra.com/miembros
my code after change slug is:add_filter( ‘login_url’, ‘my_login_page’, 10, 2 );
function my_login_page( $login_url, $redirect ) {
return home_url( ‘/miembros/?redirect_to=’ . $redirect );
}Could you be so king to see my code…any idea?
thanx a lotThe page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘redirect login issue’ is closed to new replies.