Last active
October 9, 2018 13:19
-
-
Save robin-scott/adbee0a748eb883fddaea045f179a54e to your computer and use it in GitHub Desktop.
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
// Add this to an .htaccess file at the top of the wp-admin directory to lock down this section of your site to only trusted IP addresses | |
// By Robin Scott of Silicon Dales - details here: https://silicondales.com/tutorials/wordpress/lock-out-all-traffic-except-your-ip-from-login-admin/ | |
Order Deny,Allow | |
Deny from all | |
Allow from X.X.X.X |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment