Skip to content

Instantly share code, notes, and snippets.

@ptasker
Created October 16, 2013 14:29
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 ptasker/7008652 to your computer and use it in GitHub Desktop.
Save ptasker/7008652 to your computer and use it in GitHub Desktop.
WordPress .htaccess protect wp-login.php
<Files wp-login.php>
Order deny,allow
Deny from all
Allow from xx.xx.xx.0/24
#Another IP
Allow from xx.xx.xx.xx
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment