Force Login failed
-
Hello
I try to add this script to my wp function.php after install and activate force login plugin
// Custom Login URL function my_login_page( $login_url, $redirect ) { return site_url( '/custom-login/?redirect_to=' . $redirect ); } add_filter( 'login_url', 'my_login_page', 10, 2 );
But it’s failed, my website is redirected to the wrong URL. I don’t know why.
It’s like this (too many redirects): https://prnt.sc/1ry8igjPlease help
thank you
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Force Login failed’ is closed to new replies.