Title: Cannot modify header (for RSS)
Last modified: August 19, 2016

---

# Cannot modify header (for RSS)

 *  Resolved [dsawchuk](https://wordpress.org/support/users/dsawchuk/)
 * (@dsawchuk)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-for-rss/)
 * I’ve gotten this error:
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/dsphoto/public_html/index.php:2) in /home/dsphoto/public_html/
   > blog/wp-includes/feed-rss2.php on line 8
 * I know that this has to do with whitespace and the php tags, but for the life
   of me, I can’t figure out where the phantom whitespace might be. Here’s the code
   for the index file (that I haven’t modified at all since installing):
 *     ```
       <?php
       /**
        * Front to the WordPress application. This file doesn't do anything, but loads
        * wp-blog-header.php which does and tells WordPress to load the theme.
        *
        * @package WordPress
        */
   
       /**
        * Tells WordPress to load the WordPress theme and output it.
        *
        * @var bool
        */
       define('WP_USE_THEMES', true);
   
       /** Loads the WordPress Environment and Template */
       require('./blog/wp-blog-header.php');
       ?>
       ```
   
 * Any suggestions?

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

 *  Thread Starter [dsawchuk](https://wordpress.org/support/users/dsawchuk/)
 * (@dsawchuk)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-for-rss/#post-1551890)
 * Oops, sorry. I didn’t mention that this was for when I try to go to my RSS feed
   at:
 * [http://feeds.feedburner.com/darbysawchuk](http://feeds.feedburner.com/darbysawchuk)
 * Now, though, trying this from home, I get a totally different problem. Going 
   to that link, I now reach a directory page for “Index of /blog” that lists all
   of my wordpress files in that directory.
 *  Thread Starter [dsawchuk](https://wordpress.org/support/users/dsawchuk/)
 * (@dsawchuk)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-for-rss/#post-1552005)
 * Gave it a new feedburner link and it seems to work now. Don’t know why, but it
   does.

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

The topic ‘Cannot modify header (for RSS)’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [dsawchuk](https://wordpress.org/support/users/dsawchuk/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/cannot-modify-header-for-rss/#post-1552005)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
