RSS 2.0 Feeds not validating because of a blank line
My WordPress 184.108.40.206 RSS 2.0 feeds are not validating, in certain instances, because of a spurious blank line that appears at the top of the feed. The extra blank line ONLY appears when the url ends with a trailing slash. For example:
- http://www.valenceband.com/wp/?feed=rss2 validates
- http://www.valenceband.com/wp/feed validates
- http://www.valenceband.com/wp/feed/ does not validate
With permalinks turned on, the url generated by the bloginfo(‘rss2_url’); function always ends with a trailing slash, so the feed does not validate. I just can’t figure out which modules are being called that could possibly be adding a blank line. I tried disabling the usual suspects (plugins, themes, etc.), but that blank line always shows up. I have peeked at all the modules that should be loading, but nothing obvious can be found. I’ve looked through the .htaccess file generated by WordPress, but I can’t find anything out of place there, either.
Can someone tell me what the difference is between a WordPress url with a trailing slash and a WordPress url without a trailing slash? What extra redirect module is called in one case vs. another?
- The topic ‘RSS 2.0 Feeds not validating because of a blank line’ is closed to new replies.