daniel-w
7/30/2018 - 5:33 PM

Password Protect wp-login.php

# 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>