Created
January 28, 2014 13:35
-
-
Save yoren/8667719 to your computer and use it in GitHub Desktop.
Whitelist you IPs in .htaccess in WordPress
This file contains hidden or 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> | |
Order deny,allow | |
Deny from All | |
Allow from 123.123.123.123 111.111.111.111 | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replace 123.123.123.123 or 111.111.111.111 with the IPs you want to whitelist.