Skip to content

Instantly share code, notes, and snippets.

@brandonhimpfen
Last active December 23, 2015 06:19
Show Gist options
  • Save brandonhimpfen/6593212 to your computer and use it in GitHub Desktop.
Save brandonhimpfen/6593212 to your computer and use it in GitHub Desktop.
Deny access to login to WordPress, except for defined IP addresses.
<Files wp-login.php>
Order Deny,Allow
Deny from all
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