php - .htaccess requests correct login twice with .htpasswd and wordpress -
i use .htaccess ask credentials access members data. .htaccess file stored in 1 of directories , protects in directories below it. .htaccess file simple:
authname "members area" authtype basic authuserfile /home/xxxxx/public_html/xxx/data/.htpasswd require valid-user
problem is, when moved new server (and built new website within directory using wordpress), authentication box comes twice , requires users enter same correct login information both times.
i've read in other strings here trailing /
, since don't have redirect or else in .htaccess, i'm not quite sure do.
anybody have suggestions on workaround or rewrite?
Comments
Post a Comment