Support » Installing WordPress » moving directory

  • nathan1234

    (@nathan1234)


    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.]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Tim S

    (@tim-s)

    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.

    govpatel

    (@govpatel)

    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’)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘moving directory’ is closed to new replies.