deny by htaccess
-
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
</Files>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?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘deny by htaccess’ is closed to new replies.