Created
October 9, 2018 13:14
-
-
Save robin-scott/b697007b38c5fd68d7e3545ce491dca4 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 into your .htaccess file at the root of your WordPress installation. By Robin Scott of Silicon Dales. | |
// See full details here: https://silicondales.com/tutorials/wordpress/lock-out-all-traffic-except-your-ip-from-login-admin/ | |
<Files wp-login.php> | |
Order Deny,Allow | |
Deny from all | |
Allow from X.X.X.X | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment