Created
August 29, 2019 11:07
-
-
Save stefanpejcic/519aa8f2baf43ceeccb94a12c4f21e8b to your computer and use it in GitHub Desktop.
only access wp-admin with a specific IP
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
# Limit logins and admin by IP | |
<Limit GET POST PUT> | |
order deny,allow | |
deny from all | |
allow from xx.xx.xx.xx | |
</Limit> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment