Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)

  • ozgirl57
    Participant

    @ozgirl57

    I just had the same problem and fixed it this way. I don’t know if this is the right way to do it, but it seems to work for me.

    Find your login form. Mine is located in my sidebar.php file. The first line of the form should look like this

    <form name=”login-form” id=”sidebar-login-form” class=”standard-form” action=”<?php echo site_url( ‘wp-login.php’, ‘login’ ) ?>”

    Where it says

    action=<?php echo site_url( ‘wp-login.php’, ‘login’ ) ?>”

    I just deleted wp-login.php, so now the line looks like this

    <form name=”login-form” id=”sidebar-login-form” class=”standard-form” action=”<?php echo site_url( ”, ‘login’ ) ?>”

    Now when someone enters the wrong info the page simply refreshes and the form clears, instead of sending them to the wp-login form page. You could also create a new file with some information or instruction and insert the filename so that it looks something like this

    <?php echo site_url( ‘thenameofyourfile.php’, ‘login’ ) ?>

    and then the user will be redirected to that file.

Viewing 1 replies (of 1 total)
Skip to toolbar