Too many redirects – slightly odd
-
So I have ended up with this and read what I could to see what was going on. See below – apologies if there is some resource I’ve missed but I could not find something that covered it.
This is a self hosted site, it’s been there years and upgraded etc – even a move of server which did mess some file permissions up… think all that is fixed at the moment.
It started when I edited the wp-config.php to add define( ‘WP_CONTENT_DIR’, ‘/export/home……’);
So I removed that again but it persisted – which upset me ??
I could not access ANY of the site.However, I then read about it …
Checked HOME and SITE URL settings – added explict ones in wp-config
Checked the database too
renamed the plugin dir
looked for .htaccess – didnt find one – but confused there – so made one as suggested. Still nothing.
Reuploaded all the files excep for the content dir… still nothing.finally commented it all out in htaccess (I’d tried removing the file – but that didn’t help) and the site came back but NOT the /wp-admin – it did not lead to a login – presume it needs the redirect???
.htaccess now looks like :
# 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 WordPressI found I can go to wp-loing.php – log in then the homepage has the menu at the top and can ge to the dashbaord from there and everything I have tried seems to work.
Many thanks if you can help me get to the bottom of it!
Dave
- The topic ‘Too many redirects – slightly odd’ is closed to new replies.