WordPress.org

Ready to get started?Download WordPress

Forums

Blog on the root WP in a folder (3 posts)

  1. Jables
    Member
    Posted 9 years ago #

    is anybody else having problems setting up 1.5 in a seperate folder and not the root? I tried just copying the index.php file to the root and using the blog option in the admin panel but I keep getting error:

    Fatal error: main(): Failed opening required '.wp/wp-blog-header.php' (include_path='.:/usr/local/lib/php') in /homepages/32/d92201765/htdocs/index.php on line 4

    The file is there but it's not working and I've trying several different ways. I don't want to have to move my install to the root (that seems stupid). Is there anyway to fix this?

  2. Kafkaesqui

    Posted 9 years ago #

    Double-check the path you're providing:

    <?php
    require('./wp/wp-blog-header.php');
    ?>

  3. Jables
    Member
    Posted 9 years ago #

    Bleh... thanks for the quick reply. Stupid mistake, but after looking at the screen for so long i didn't catch it. Thanks a million!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.