Skip to content

Instantly share code, notes, and snippets.

@h2ospace
Created February 10, 2022 01:52
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 h2ospace/32de5c12d78a334e438f2b3ab75c7646 to your computer and use it in GitHub Desktop.
Save h2ospace/32de5c12d78a334e438f2b3ab75c7646 to your computer and use it in GitHub Desktop.
IP address guard for WordPress
<FilesMatch "wp-login.php|wp-admin">
order deny,allow
deny from all
allow from xxx.xxx.xxx.xxx
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment