[wp-hackers] Wordpress in its own directory: fail
mccormicky
mccormicky at gmail.com
Wed Jul 7 22:21:35 UTC 2010
1st step is to change WordPress location in Settings >> General then copy
the files to the new directory
if I am not mistaken.
On Wed, Jul 7, 2010 at 6:01 PM, Lox <lox.dev at knc.nc> wrote:
> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list