Created
May 4, 2016 21:23
-
-
Save cristianraiber/756175eb9d612ab07d5d721dc891f32c to your computer and use it in GitHub Desktop.
Protect wp-login
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
# Protect wp-login | |
<Files wp-login.php> | |
AuthUserFile ~/.htpasswd | |
AuthName "Private access" | |
AuthType Basic | |
require user mysecretuser | |
</Files> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment