Created
March 25, 2019 18:29
-
-
Save shirokoweb/c1cbaac60e071b62d0725819a3bbfef6 to your computer and use it in GitHub Desktop.
auth wp-admin / 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
uname:pwdmd5hash | |
# BEGIN WP AUTH | |
<Files wp-login.php> | |
AuthUserFile /var/www/vhosts/hostname.com/httpdocs/.wpauth | |
AuthName "Authentication" | |
AuthType Basic | |
require valid-user | |
</Files> | |
# END WP AUTH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment