I’m trying to put the WordPress files in a directory called http://mysite.com/wordpress/ and my blog address in http://mysite.com/news/ but I can’t get it to work. I had WordPress working ok when I tested everything wholly within the /wordpress/ directory, but I’m not able to move it to the /news/ directory.
I’ve followed the intruction for moving at:
and I get the error:
Warning: main(./wordpress/wp-blog-header.php): failed to open stream: No such file or directory in /usr/www/users/mysite/news/index.php on line 4
Fatal error: main(): Failed opening required ‘./wordpress/wp-blog-header.php’ (include_path=’.:/usr/local/lib/php’) in /usr/www/users/mysite/news/index.php on line 4
Obviously it isn’t finding the needed files, but I don’t know where to enter this information to fix the problem.
I note that the instruction page in the Codex for moving WordPress (listed above) says that *three* pieces of information are needed, with #3 being the file system path to wp-blog-header.php, and yet the instructions right below those three pieces of information *don’t mention item #3*. Is it missing, and should it be changed somewhere?
- The topic ‘WordPress in different directory from blog address (can’t get it to work)’ is closed to new replies.