WordPress.org

Ready to get started?Download WordPress

Forums

moving directory (3 posts)

  1. nathan1234
    Member
    Posted 2 years ago #

    i tried moving directory following the steps provided here

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    but now when i go to the home page i get this:

    Warning: require(./premium/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/ipluswor/public_html/premium/index.php on line 17
    
    Warning: require(./premium/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/ipluswor/public_html/premium/index.php on line 17
    
    Fatal error: require() [function.require]: Failed opening required './premium/wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ipluswor/public_html/premium/index.php on line 17

    Any Help?

    Thanks

    [No bumping - especially within 1 hour of your first post. If it's that urgent, consider hiring someone.]

  2. Tim S
    Member
    Posted 2 years ago #

    From the error message it looks like you are missing files. Make sure the there's a /premium/wp-blog-header.php file where it should be.

  3. govpatel
    Member
    Posted 2 years ago #

    From the error I see that you have folder named premium and assume that you have all your files and folders in that folder and you want to use wordpress from directory then you need to copy index.php file in root and then change line 17 so that you have premium folder name.

    Open your root directory's index.php file in a text editor
    Change the following and save the file. Change the line that says:
    require('./wp-blog-header.php');
    to the following, using your directory name for the WordPress core files:
    require('./premium/wp-blog-header.php')

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.