# Protect wp-login # <Files wp-login.php> AuthName "Log in to the dashboard." AuthType Basic AuthUserFile /home/example/public_html/.htpasswd require user username </Files>