Last active
July 6, 2017 07:16
-
-
Save chrisdavidmiles/93db1449d70549c343b6e356d2c45fce to your computer and use it in GitHub Desktop.
Prevent POST requests to wp-login.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Files "wp-login.php"> | |
ErrorDocument 403 default | |
RewriteCond %{REQUEST_METHOD} POST | |
RewriteRule .* - [F,L] | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment