Index.php not found problem for wordpress in subdirectory
-
I have installed wp3.2.1 in a subdirecoty of my domain, following the procedure described here http://codex.ww.wp.xz.cn/Giving_WordPress_Its_Own_Directory
The wordpress is installed in pharmatopics.com/wp/ I then copied the index.php and .htaccess from the subdirectory to the root directory, and changed the line “require(‘./wp-blog-header.php’);” in root index.php to “require(‘./wp/wp-blog-header.php’);”. Now the blog works fine as long as I open it by type in the domain name; however, if I type in the subdirectory, like pharmatopics.com/wp/, the webpage shows an error 404 as if the index.php in the subdirectory can not be found.
Can anybody help me to solve this problem please? Thanks
The topic ‘Index.php not found problem for wordpress in subdirectory’ is closed to new replies.