Title: Warning: require(./wp-blog-header.php)
Last modified: August 19, 2016

---

# Warning: require(./wp-blog-header.php)

 *  [abradbury](https://wordpress.org/support/users/abradbury/)
 * (@abradbury)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/warning-requirewp-blog-headerphp/)
 * Hi
    I was trying to move my blog to the root of my website. That didn’t work 
   so I tried to restore, which worked partially – in that I can now see one of 
   the pages, but when I click on any links I get this error message:
 *     ```
       Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/index.php on line 17
   
       Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/index.php on line 17
       ```
   
 * Is there a quick fix?
    thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/warning-requirewp-blog-headerphp/#post-1009697)
 * fix it back
    [http://codex.wordpress.org/Changing_The_Site_URL](http://codex.wordpress.org/Changing_The_Site_URL)
   move it properly [http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site](http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site)
 *  [kenners](https://wordpress.org/support/users/kenners/)
 * (@kenners)
 * [17 years ago](https://wordpress.org/support/topic/warning-requirewp-blog-headerphp/#post-1009959)
 * Hi – I am having a similar problem. I have checked and rechecked all my files
   after attempting to unsuccessfully move my directory, I basically stepped backwards
   and put it back to where it was.
 * Now whilst I can get into the admin I cannot get the site homepage live? Any 
   suggestions, this is my first time installing wordpress.
 * [http://www.thefootballjournalist.com/wordpress/](http://www.thefootballjournalist.com/wordpress/)
 * I have followed all the advice above and nothing seems to have worked.
 * Thanks
 *  [dlgnicholson](https://wordpress.org/support/users/dlgnicholson/)
 * (@dlgnicholson)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/warning-requirewp-blog-headerphp/#post-1009962)
 * I too have the same problem.
    I have 1 site in the root and 3 subsites in 3 subfolders.
   All WP 2.7.1
 * Only the one in the root is giving problems..
    I have copied all the files except
   the wp-config file from on the of the subfolders and replaced the files in the
   root.. still not solved.
 * I have multiple sites out there but this is the 1st time I’ve seen this issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Warning: require(./wp-blog-header.php)’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 4 participants
 * Last reply from: [dlgnicholson](https://wordpress.org/support/users/dlgnicholson/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/warning-requirewp-blog-headerphp/#post-1009962)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
