Skip to content

Instantly share code, notes, and snippets.

@yoren
Created January 28, 2014 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoren/8667719 to your computer and use it in GitHub Desktop.
Save yoren/8667719 to your computer and use it in GitHub Desktop.
Whitelist you IPs in .htaccess in WordPress
<Files wp-login.php>
Order deny,allow
Deny from All
Allow from 123.123.123.123 111.111.111.111
</Files>
@yoren
Copy link
Author

yoren commented Jan 28, 2014

Replace 123.123.123.123 or 111.111.111.111 with the IPs you want to whitelist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment