404 Error or Too many redirects error on WP password protected directory

Issue: When you password protect your WordPress admin (wp-admin) directory, Wordpress Admin URL will shows 404 Error or Too many redirects error in browser.

Fix:

To fix this issue, open your main WordPress .htaccess file and add the following code there before the WordPress rules start.


ErrorDocument 401 default

Now check your Wordpress Admin URL. It will load with double authentication for your WordPress admin area. :)

Comments

Popular posts from this blog

SVN: File remains in conflict

HowTo: Enable extended logging for exim

12 tweakings for WHM/cPanel to speed up WordPress