As we know that wordpress have a very special feature of Feedburner RSS feed that have the XML of the post listing. We can get it easily,just hit a very simple URL like.
http://yourwebsiteurl.com/rss or http://yourwebsiteurl.com/feed etc .
Sometime, our RSS FEED have not generated i.e it got an error. Here we are describing the problem as well as solution.
The Problem: XML declaration RSS feed Error
In the browser Internet Explorer,it gives an error like this.
Invalid xml declaration.
Line: 2 Character: 3
This BLANK SPACE is the main cause of this Error.
The Solution: XML declaration RSS feed Error
For this issue, we need to remove this white space i.e BLANK SPACE. So we need to check the following files.
i – File : functions.php : (wp-content/themes/youractivatedtheme/functions.php) Please check this file at the end and if it have any white space i.e Blank space on the bottom then remove it .
I ‘m sure,your problem have been resolved. If you have included any other file then please also check the WHITE SPACE i.e BLANK SPACE and remove on that also.
2: You need to check other template also like ” header.php , footer.php , comments.php, author.php,search.php,page.php etc ” .
3: If you are using any CACHE plugin then first de-activate and again active or remove the CACHE so that it can able to store the new content.
Note : If still have any problem then add this function : ob_start() : at the top on the file : functions.php : Now it will use for buffering but hopefully it can resolved all the error.
But I ‘m sure above solution will resolved and you don’t need it.
Let me know in the comments, if this helped for you or if you know of any other better solutions!