Ready to get started?Download WordPress


Rename wp-login.php
[resolved] deny by htaccess (2 posts)

  1. Topher
    Posted 7 months ago #

    My primary reason for using this was to stop WordPress and php from spinning up at all, since it was consuming resources simply by having WP generate the 404 page.

    For that reason I put this into my .htaccess file:

    <Files wp-login.php>
    order allow,deny
    deny from all

    And now Apache serves a 403 and never spins up php.

    I don't need help, simply offering something that can help.

    Maybe make the plugin drop that in into .htaccess automatically?


  2. Janneke Van Dorpe
    Plugin Author

    Posted 6 months ago #

    I might do that, but then you don't get the custom 404 page. Depends on what people want. But yeah, it would save server resources for apache.


You must log in to post.

About this Plugin

About this Topic