TOO_MANY_REDIRECTS Error when using basic authentication
-
I set up multisite and add the following on .htaccess to use basic authentication on log-in page (wp-login.php) and getting error “310 (net::ERR_TOO_MANY_REDIRECTS)” and I can not access to the log-in page.
It works on the local set up using XAMPP but not work on the server.
What am I doing wrong?
<files wp-login.php> AuthName "Login Password Required" AuthType Basic AuthUserFile /home/xxxx/.htpasswd require valid-user </files> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]Multisite setup on the server and local (XAMPP)
(using sub-directory and installed on the subdomain)
test.xxxx.com (root site)
test.xxxx.com/en/
text.xxxx.com/jp/I would appreciate it if anyone could suggest about this issue.
Thank you.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
The topic ‘TOO_MANY_REDIRECTS Error when using basic authentication’ is closed to new replies.