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

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -