My RSS sidebar RSS selection won't generate feeds for visitors to subscribe to. Here is code and errors for both RSS entries and comments. Blog is http://www.wowgreathealth.com
Current code for RSS entries feed:
" title="<?php bloginfo('name'); ?> RSS 2.0 (XML)" rel="alternate" type="application/rss+xml">Entries RSS 2.0
I've also tried suggested Adding Feeds for entries from WordPress:
" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('RSS'); ?>
But on both codes I get no feeds displayed and Error for RSS Entries:
XML Parsing Error: xml declaration not at start of external entity
Location: http://wowgreathealth.com/?feed=rss2 Line Number 2, Column 1:^
---------------------------------------------------------------------------------------
Current code for RSS comments feed:
" title="<?php bloginfo('name'); ?> Comments RSS 2.0 (XML)" rel="alternate" type="application/rss+xml">Comments RSS 2.0
I've also tried suggested Adding Feeds for comments from WordPress:
" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments RSS'); ?>
But on both codes I get no feeds displayed and Error for RSS Comments:
XML Parsing Error: xml declaration not at start of external entity
Location: http://www.wowgreathealth.com/comments/feed/
Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.7" -->^
Those links are fine. Your problem is that your feed starts with a blank line. There's a lot of possible causes for this. The most common are:
a) Having a blank line at the very top or bottom of a plugin.
b) Having a blank line at the very top of bottom of your theme's functions.php file.
c) Having a blank line at the very top of bottom of your wp-config.php file.
d) Having a blank line at the very top of bottom of any other major WordPress file.
Find, and remove, this blank line. It will be outside the <?php...?> tags in the file.
Also, you have created a "feed" directory which is preventing your normal "Entries" feed from working. Remove the directory named "feed" from your site.
FIXED
Wow Otto, Thanks a bunch. This just saved me tons of time.
I had blank lines at the end of comments.php and header.php after the close ...?>
There was some HTML code after that with blank lines between it and apparently that's all it took to screw things up.
All is well.