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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -