• How come when I go to <site>/wp-rss2.php manually the feed comes in fine, however when I click on the “You can follow any responses to this entry through the RSS 2.0 feed” I get s different incorrect feed that give me an error (in firefox). It appears the error is caused by some spaces (not lines) before the starting XML tag. My question is why are these different and where can i look for the spaces? Its not in my config file or any of the (default) theme files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    My question is why are these different

    The normal feed link goes through the index.php and the template-loader. Loading wp-rss2 directly bypasses a lot of the normal wordpress files and functions and such.

    and where can i look for the spaces?

    Most likely candidate: the main index.php in the root. Make sure it has no blank lines outside the <?php … ?> tags.
    Failing that, look for a file with a blank line before the opening <?php tag. Could be anywhere.

    Thread Starter chiefy81

    (@chiefy81)

    It doesnt appear to be a blank line, the xml start tag is on the first line, the problem is there are spaces AKA space bar ” ” characters.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    Well, then without looking at it, I can’t say what the deal is. What’s the URL?

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

The topic ‘RSS feed inconsistent!’ is closed to new replies.