WordPress.org

Forums

Automatic update successful, but no access (1 post)

  1. stpioc
    Member
    Posted 5 years ago #

    Hello, used the automatic update plugin, which didn't work at first, but after looking for solution, I found this from someone with a similar situation (blog in subdirectory on root but URL not):

    [Now my blog is located in a sub-directory on my root, but it's URL is not, so here's what I had to do in order for WPAU to work. I had to move the files ".htaccess" and "index.php" from the root into the sub-directory. Ran WPAU without a hitch. Move those two files back to the root.

    Open "index.php" and edited it by adding "/blog" to "/blog/wp-blog-header.php"]

    I did exactly that, but my site won't run and this is the error message I get:
    Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /sites/name.com/www/index.php on line 17

    Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.:/usr/local/share/pear') in /sites/name.com/www/index.php on line 17

    Additional info:

Topic Closed

This topic has been closed to new replies.

About this Topic