Skip to content

Instantly share code, notes, and snippets.

@shirokoweb
Created March 25, 2019 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shirokoweb/c1cbaac60e071b62d0725819a3bbfef6 to your computer and use it in GitHub Desktop.
Save shirokoweb/c1cbaac60e071b62d0725819a3bbfef6 to your computer and use it in GitHub Desktop.
auth wp-admin / login
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