Skip to content

Instantly share code, notes, and snippets.

@kurudrive
Last active August 29, 2015 14:10
Show Gist options
  • Save kurudrive/2358198279164ae321ad to your computer and use it in GitHub Desktop.
Save kurudrive/2358198279164ae321ad to your computer and use it in GitHub Desktop.
wp-login.phpのBASIC認証
<Files wp-login.php>
AuthType Basic
AuthUserFile /*サーバーのパス*/.htpasswd
AuthGroupFile /dev/null
AuthName "Please enter your ID and password"
require valid-user
</Files>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment