chiefy81
Member
Posted 5 years ago #
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.
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.
chiefy81
Member
Posted 5 years ago #
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.
Well, then without looking at it, I can't say what the deal is. What's the URL?