Home Forums Theme support 404 Error on login page Reply To: 404 Error on login page

Hi, there was a problem with the most recent WordPress update. Wrote you the solution already via mail.

For all other user with the problem: open the file “functions.php” in the root of the theme and add this code at the end of the file:

add_filter( 'login_url', 'my_login_page', 10, 2 );
function my_login_page( $login_url, $redirect ) {
    return home_url( 'wp-login.php' );