Created
July 11, 2022 08:34
-
-
Save lynt-smitka/5f10ded25a29de5ece0c1c22a1b14c99 to your computer and use it in GitHub Desktop.
.htaccess to the "/wp-admin" directory to limit IP address
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
<RequireAny> | |
Require ip your.ip.address.here | |
</RequireAny> | |
<Files admin-ajax.php> | |
Require all granted | |
</Files> | |
<Files admin-post.php> | |
Require all granted | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment