Created
April 18, 2013 09:25
-
-
Save deepak-rajpal/5411426 to your computer and use it in GitHub Desktop.
Restrict Wordpress Admin/Login/Access by IP Address (Example for Localhost): Add following code into .htaccess file
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
<Files wp-login.php> | |
Order Deny,Allow | |
Deny from all | |
Allow from 127.0.0.1 | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment