Created
February 10, 2022 01:52
-
-
Save h2ospace/32de5c12d78a334e438f2b3ab75c7646 to your computer and use it in GitHub Desktop.
IP address guard for WordPress
This file contains 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
<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