Since 5.6.1: Problem with custom login page
-
Hello!
I have that code activated, which I found here in the support forum:
// Custom Registration URL function my_registration_page( $register_url ) { return site_url( '/login/', 'login' ); } add_filter( 'register_url', 'my_registration_page', 10, 1 ); // Custom Login URL function my_login_page( $login_url, $redirect ) { return site_url( '/login/?redirect_to=' . $redirect ); } add_filter( 'login_url', 'my_login_page', 10, 2 );
But since the last version 5.6.1. I have a problem. It always redirects again and again and again, but that worked fine before!
The link looks like this, when Firefox stopped:
https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/login/?redirect_to=https://DOMAIN/kasse/?add-to-cart=389
Kind regards,
Klaus
- The topic ‘Since 5.6.1: Problem with custom login page’ is closed to new replies.