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

  1. Topher
    Posted 2 years 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. Ella Iseulde Van Dorpe
    Plugin Author

    Posted 2 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Rename wp-login.php
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic