Created
August 29, 2019 11:47
-
-
Save stefanpejcic/e53b683f964a9ce907fba6a3e4109d9b to your computer and use it in GitHub Desktop.
brute-force disable
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
RewriteEngine on | |
RewriteCond %{REQUEST_METHOD} POST | |
RewriteCond %{HTTP_REFERER} !^http://(.*)?example\.com [NC] | |
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR] | |
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$ | |
RewriteRule ^(.*)$ - [F] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment