Title: blog-header.php problem
Last modified: August 18, 2016

---

# blog-header.php problem

 *  [Reynard](https://wordpress.org/support/users/reynard/)
 * (@reynard)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/blog-headerphp-problem/)
 * Hello,
 * I have been getting this error when I try to include index.php somewhere in my
   site:
 * Warning: main(./wp-blog-header.php): failed to open stream: No such file or directory
   in /public_html/news/index.php on line 4
 * Fatal error: main(): Failed opening required ‘./wp-blog-header.php’ (include_path
   =’.:/usr/lib/php:/usr/local/lib/php’) in /public_html/news/index.php on line 
   4
 * Any idea on whats wrong?

Viewing 1 replies (of 1 total)

 *  [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * (@jdingman)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/blog-headerphp-problem/#post-232888)
 * It appears your path is wrong. ‘no such file or directory’ means it can’t find
   the file. Try setting an absolute path file to your blog-header.php such as /
   home/username/public_html/<your wp directory>/wp-blog-header.php (fill in the
   variables for your own site)

Viewing 1 replies (of 1 total)

The topic ‘blog-header.php problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Jon Dingman](https://wordpress.org/support/users/jdingman/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/blog-headerphp-problem/#post-232888)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
