Skip to content

Instantly share code, notes, and snippets.

@stefanpejcic
Created August 29, 2019 11:07
Show Gist options
  • Save stefanpejcic/519aa8f2baf43ceeccb94a12c4f21e8b to your computer and use it in GitHub Desktop.
Save stefanpejcic/519aa8f2baf43ceeccb94a12c4f21e8b to your computer and use it in GitHub Desktop.
only access wp-admin with a specific IP
# 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