Support » Fixing WordPress » rss feed problem

  • Whenever someone clicks on the RSS logo you get an error page with the message “XML Parsing Error: xml declaration not at start of external entity
    Line Number 2, Column 1:”

    and when i go to feedburner it can’t locate the feed itself as well. there i get an error saying “The URL you entered does not appear to be a valid feed. We encountered the following problem: Error on line 2: The processing instruction target matching “[xX][mM][lL]” is not allowed.”

    I’m also not able to validate the feed. i Get this msg “This feed does not validate.


    line 1, column 1: Blank line before XML declaration [help]”

    If anyone can offer anyhelp please do so, i’d like to get that working before i really start to post articles. The website is

Viewing 5 replies - 1 through 5 (of 5 total)
  • i also have these boring problem with feeds, and waiting for help.

    I just started having this problem on one of my blogs after updating to WordPress 2.6. The parser problem is happening because somehow the XML declaration is starting on the second line of the file — it should start on the first line. I have not been able to figure out why this is happening. I turned off all my plugins but still get this parsing error.

    The site URL is This site is hosted by Corpsite.

    I have another site that is not having this problem–it is hosted by Dreamhost.

    I just found the solution. A combination of suggestions in another post and one I found myself. See for information about having blank lines in your wp_config.php file that cause the XML declaration to begin on the second line.

    I took out all the blank lines in mine and still had the problem. Then I noticed that the line feed endings for my wp-config.php file were set to Windows CRLF. I changed that to Unix (LF) and now my RSS feed works. The file should also be saved as Unicode UTF-8.

    Oh, thank you for giving us a good news. I really hate this problem.
    Would you please explain it more clear? “the line feed endings for my wp-config.php file were set to Windows CRLF.” What does it mean? How should i edit wp-config.php?


    sleeplessinDC, i checked all php files, and did like you said, but still the same, can you help me with this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘rss feed problem’ is closed to new replies.