Using .htaccess for protection, but asked for password twice.
-
I am using the .htaccess file to password protect the entire WP site. The htaccess file is located in the root WP directory, and for some reason visitors are asked twice, right after another, to enter the login name and password.
I often use htaccess for password protection, but this is the first time I have experienced this behaviour. Is it a uniquely WP thing, or is there something wrong with my setup?
On closer inspection I see that the first time I am asked for the password for https://sitename.com, and the second time for https://www.sitename.com
I have no idea why this is the case!
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Using .htaccess for protection, but asked for password twice.’ is closed to new replies.