sinikal11
Member
Posted 2 years ago #
I recently installed a word press site in a sub directory (~/blog). The installation went fine. I was able to access the admin panel and make some changes. I was able to create posts/comments/etc. I can view posts/comments/pages/etc by directly looking at that post/comment/page. However, if I try to access the index (/blog/index.php) I get redirected back to the site's root (/).
Any ideas???
A link to your site might help but it sounds like you used the root domain as the site url in General/Settings. If this is the case and you want to change it, see Changing_The_Site_URL first.
sinikal11
Member
Posted 2 years ago #
The WordPress and Blog address URLs both say http://www.domain.net/blog.
sinikal11
Member
Posted 2 years ago #
Did you check your htaccess file? My site was doing the same thing because the htaccess file had some permalink code from the other site in it.
sinikal11
Member
Posted 2 years ago #
Maybe that's the issue. I don't see a .htaccess file in my directory.
It would be at yourdomain.com/blog/ in the same directory as the wp-content, wp-admin, wp-includes folders.