Must WP be located in the document root ?
-
Hi,
I’ve installed WordPress 1.2.1.1 into a subdirectory of the webserver’s document root. The subdirectory is just called “wp”.
The install.php worked fine and the database is set up as expected. The problem is when I try to log in.
All the other files required by wp-login.php are expected to be directly in the root. I get the following error:
Not Found
The requested URL /wp-admin/post.php was not found on this server.
Files are being searched for directly in the root and the “wp” subdirectory is being ignored. I put an “echo ABSPATH;exit;” line into wp-config.php to see if ABSPATH was correct and it is.
It translates to “/u/htdocs/wp/” which is correct. I tried another install, this time directly into the root and that setup works fine.
Must wordpress be located directly in the document root?
thanks in advance,
Denis
- The topic ‘Must WP be located in the document root ?’ is closed to new replies.