biodagar
Member
Posted 5 months ago #
Hi all, I wonder if anybody can help me?
I installed WP on a subdirectory of mysite.com, thereby having a secondary arm of my site on mysite.com/subinstall/.
But what I am finding is that since doing this, I have multiple redirects that is driving me insane. It automatically boots me out every time I try to do something - include post new posts, log into the dashboard, or do *anything*.
Here's what the URL tends to look like:
http://mysite.com/subinstall/wp-login.php?redirect_to=http%3A%2F%2Fmysite.com%2Fsubinstall%2Fwp-admin%2Fpost.php%3Fpost%3D2714%26action%3Dtrash%26_wpnonce%3D42786d2e85&reauth=1
Does anybody know how I can fix this? I'm sooooo frustrated. Any info is appreciated.
review your server's hierarchy structure and .htaccess.
biodagar
Member
Posted 5 months ago #
My hierarchy structure appears ok. My .htaccess contains rewrite clauses that I can't make sense of. (I am quite a n00b lol)
Vis:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /subinstall/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /subinstall/index.php [L]
</IfModule>
biodagar
Member
Posted 5 months ago #
It turned out, after much digging, that there were a couple of clauses left in a functions.php file after moving the blog to the subdirectory install. Deleting these removed the problem.
Once I relocate the post that helped me (!!) I'll post it here too :)