Replies: 0
I have several wp sites and all of a sudden a couple of weeks ago when I try to login to admin on any of them I get a redirect loop.
My configuraiton on VPS … I have a main site with wp, and the others are add on domains in subfolders. All of them – main site and add ons use plain URLs – i.e. mysite.com/post-name
.htaccess for all sites…
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I have cleared cache and cookies, no change.
I have tried different browsers on different computers, no change.
I have re-uploaded all files in main site, no change.
I have disabled plugins on main site, no change.
If I delete .htaccess in main site then I get 404 when trying to access other pages on main site as expected. Still get redirect loop when attempting to login to admin.
Same for add on domains.
When I delete .htaccess for an add on site, site works as expected, no 404s. It must be reading the .htaccess on main site. When I then delete .htaccess on main site, all 404s on main site and add on site.
If I delete .htaccess on main site and try to login to admin, Instead of redirect loop I get:
Not Found
The requested URL /wpbf-fix was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Appreciate any ideas.