Home Forums Theme support 404 Error on login page

This topic contains 1 reply, has 2 voices, and was last updated by  7Theme Support 5 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • I’m using the Locate Real Estate theme and now when I login I get a 404 page instead of dashboard.

    It happened on 2 different installation.

    What’s going on?

    Thanks

    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' );
    }
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.