Title: Problem with headers?
Last modified: August 19, 2016

---

# Problem with headers?

 *  Resolved [natalie85](https://wordpress.org/support/users/natalie85/)
 * (@natalie85)
 * [18 years ago](https://wordpress.org/support/topic/problem-with-headers/)
 * I’ve recently installed the latest wordpress version and now I’m having a strange
   problem with it.
    Some people are able to view news and some visitors can’t and
   they get error:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/user/public_html/directory/header.php:6) in /home/user/public_html/directory/
   wp-includes/pluggable.php on line 689
 * Maybe the problem is caused by editing the index.php file?
    Since I wanted to
   have the header in main directory (because I’m using wordpress for news only,
   not for my content)
 * I’ve did something like that with index file:
 * <?php
    include(‘header.php’); ?> <?php /* Short and sweet */ define(‘WP_USE_THEMES’,
   true); require(‘./wp-blog-header.php’); ?> <? include(‘footer.php’); ?>

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

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [18 years ago](https://wordpress.org/support/topic/problem-with-headers/#post-728874)
 * The error I get when going to your site is Warning: Cannot modify header information–
   headers already sent by (output started at /home/nikki/public_html/rihanna/index.
   php:2) in /home/nikki/public_html/rihanna/wp-includes/pluggable.php on line 689
 * I would think that points to the include header line you added to your index 
   file.
 *  Thread Starter [natalie85](https://wordpress.org/support/users/natalie85/)
 * (@natalie85)
 * [18 years ago](https://wordpress.org/support/topic/problem-with-headers/#post-728897)
 * I’ve removed all files besides wp-content and uploaded from the start and it’s
   working now

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

The topic ‘Problem with headers?’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [natalie85](https://wordpress.org/support/users/natalie85/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/problem-with-headers/#post-728897)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
