Created
February 17, 2014 13:10
-
-
Save rutger1140/9050228 to your computer and use it in GitHub Desktop.
Protect WordPress login's from unauthorized IP's
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
# Protect wp-login | |
<Files wp-login.php> | |
order deny,allow | |
deny from all | |
# Localhost | |
allow from ::1 | |
allow from 192.168. | |
# IP from users | |
allow from 1.2.3.4 | |
allow from 2.3.4.5 | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment