New Year Offer 82% OFF
00
DAYS
09
HOURS
51
MINUTES
18
SECONDS

Why does a password-protected directory ask twice for the password?

Modified on:
htpassword htaccess password protect directory directory password

This is happening because you have a password-protected subfolder on your account. If there is a .htaccess file above the subfolder you are trying to password protect, Apache webserver is confused and asks the password for each .htaccess file it finds in its path. In order to solve this, either move the password protection to your web root folder or remove any rewrite rules/redirections.

  • Unlimited Number of Websites
  • 24/7 Live Support
  • Free Website Builder
  • 2X WordPress Optimized Speed
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
From
RM
5
49
/mo
Save 82%
Let's go!