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

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -