• Resolved dsawchuk

    (@dsawchuk)


    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

    (@dsawchuk)

    Oops, sorry. I didn’t mention that this was for when I try to go to my RSS feed at:

    https://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

    (@dsawchuk)

    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.