Support » Plugin: Rename wp-login.php » Auto redirection for /wp-login.php

  • Resolved wpweaver

    (@wpweaver)



    Just a big +1 for this feature request:

    Instead of generating a 404 when someone enters

    http://example.com/wp-login.php

    it would absolutely wonderful if there were a simple option to enter a redirection address – either to a wp page on the site, or better yet, a plain html page.

    I’m using the “Redirection” plugin to achieve this now, but that seems overkill. One of the BIG advantages of this plugin is to block all the hack attacks, and it would be very nice if all they got was a plain html page that puts minimal load on the server – no need to load WP or send all the graphics from the standard 404 page.

    Actually, even generating a similar, simple message like you get when trying example.com/wp-admin would be perfect.

    https://wordpress.org/plugins/rename-wp-login/

Viewing 6 replies - 1 through 6 (of 6 total)
  • I agree, i just downloaded and installed it after a brute force attack that exceeded my bandwidth, wouldn’t want to experiment the same just redirecting to 404…
    Good call the one of the “redirection” plugin, wpweaver, thanks. Maybe overkill, but if it works I will do it.

    Well, it doesn’t.

    Plugin Author Ella Van Dorpe

    (@iseulde)

    If you want minimal impact on the server, you should block wp-login.php with htaccess. Then the server doesn’t even start loading the PHP files. I might add this option in a future version.

    Thanks Janneke, I eventually did exactly that because the attacks became unbearable.

    Just in case somebody needs the code…
    I’ve put it in my root’s .htaccess, because there were a lot of malicious requestes not only inside the blog folder, but inside root folder too.

    <Files "wp-login.php">
         Order allow,deny
         Deny from all
    </Files>

    Inside your blog folder .htaccess file, add
    RewriteOptions inherit

    iamonlythird

    (@iamonlythird)

    Just to highlight that this feature would be great to add to this plugin. I wouldn’t mind chipping in a Paypal donation when this happens.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Auto redirection for /wp-login.php’ is closed to new replies.