• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Combining .htaccess htpasswd and https

vbuser

Active member
#1
Is this bad practice? I've been using htaccess to protect directories on my site then Google pushed to add https to my wordpress. Frequently I get a 401 error on the wordpress admin url. It goes away if I remove the htpasswd.
 

Liam W

Well-known member
#2
401 means authentication required - it's displayed when the client sends no or incorrect authentication details, or doesn't support basic authentication.

There's no issue with HTTP basic auth and https.

Liam