• Under General Options I have set the blog location to be different than the install location.
    Install: http://www.mysite.com/app/wp
    Blog: http://www.mysite.com/users/wp
    Upon linking to the blog location I get errors indicating that various files are unfindable:
    -1 of 3——-
    Warning: main(./wp-blog-header.php): failed to open stream: No such file or directory in [snip]www/users/wp/index.php on line 3
    ————-
    It was my assumption that the install location would be where it would search for these files and not the blog location.
    All help appreciated.
    Douglas

Viewing 2 replies - 1 through 2 (of 2 total)
  • palisade, check this post from a few days ago and see if it helps.
    http://wordpress.org/support/7/15633

    I had this same problem initially.

    First you should copy the index.php file from:
    http://www.mysite.com/app/wp

    to:
    http://www.mysite.com/users/wp

    Then, edit the template of the index.php file. In the line right at the top under “don’t remove this line”, change:
    require(‘../app/wp/wp-blog-header.php’);

    to read:
    require(‘../users/wp/wp-blog-header.php’);

    These changes are specific to the two URLs you supplied. Other configurations would obviously require the paths to be specified differently. In my case, it was to simply change the path to:
    require(‘./wp/wp-blog-header.php’);

    …which I suspect is a more generic example… The index.php at the top level of the domain, with all the WP files located within ./wp/

    Hope this helps someone else, even if you’ve fixed your problems long ago…
    -db

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blog location different than Install not working’ is closed to new replies.