[wp-hackers] Wordpress in its own directory: fail

Lox lox.dev at knc.nc
Wed Jul 7 22:01:04 UTC 2010


Hello,

Seems it is no more possible to run WP3 in  its own directory

I have followed the guide here:
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

- Installed a fresh copy of wordpress 3.0 in
http://mydevserver/Mysite.com/htdocs, setup database etc. and login

- Connect to admin and change Wordpress url (siteurl) to
http://mydevserver/Mysite.com/htdocs/wp

- Created a /Mysite.com/htdocs/wp dir and moved all wordpress files in it

- Copied /Mysite.com/htdocs/wp/index.php to /Mysite.com/htdocs/

- Edited it as it: require('./wp/wp-blog-header.php');

- I then went to /Mysite.com/htdocs/wp/wp-admin

- And looked at an ugly error:

Warning: require_once(/var/www/Mysite.com/htdocs/wp-load.php): failed
to open stream: No such file or directory in
/var/www/Mysite.com/htdocs/wp-admin/admin.php on line 20

Call Stack:
    0.0000     317204   1. {main}()
/var/www/Mysite.com/htdocs/wp-admin/index.php:0
    0.0001     329460   2.
require_once('/var/www/Mysite.com/htdocs/wp-admin/admin.php')
/var/www/Mysite.com/htdocs/wp-admin/index.php:10


Fatal error: require_once(): Failed opening required
'/var/www/Mysite.com/htdocs/wp-load.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/Mysite.com/htdocs/wp-admin/admin.php on line 20

Call Stack:
    0.0000     317204   1. {main}()
/var/www/Mysite.com/htdocs/wp-admin/index.php:0
    0.0001     329460   2.
require_once('/var/www/Mysite.com/htdocs/wp-admin/admin.php')
/var/www/Mysite.com/htdocs/wp-admin/index.php:10

-- 
Lox
lox.dev at knc.nc


More information about the wp-hackers mailing list