Email-confirmation failing ?
-
Hi, I’m using this function to completely redirect my wp-login to front-end login.
//My Login page add_action('init','custom_login_page'); function custom_login_page() { $new_login_page_url = home_url( '/login/' ); // new login page global $pagenow; if( $pagenow == "wp-login.php" && $_SERVER['REQUEST_METHOD'] == 'GET') { wp_redirect($new_login_page_url); exit; } }
But the problem is that the email confirmation doesn’t work because of this code. Is there a way I can make the email-confirmation work even after disabling/redirecting my wp-login?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Email-confirmation failing ?’ is closed to new replies.