Switched Wordpress Site To Linode, RSS Errors

I switched my Wordpress based site over to a Linode server, now the RSS feeds occasionally give XML errors.

For instance: "error on line 2 at column 6: XML declaration allowed only at the start of the document"


"line 1, column 0: XML parsing error: :1:0: no element found "

If the page is reloaded, the feed then shows properly for some articles/feeds.

Any help would truly be appreciated.

EDIT: Fixed, in case you have similar troubles, refer to this magnificent webpage:

http://www.w3it.org/blog/wordpress-feed … on-how-to/">http://www.w3it.org/blog/wordpress-feed-error-output-solution-how-to/

Or this other similar solution:


EDIT 2: Nevermind it didn't work. Can anyone please help?

5 Replies

Nevermind it didn't work. Can anyone please help?

Your rss feeds look fine to me. Oh, wait you didn't post links….

Actually I think he did originally post links, but edited them out when he thought he'd fixed it…

Right, well, now we're in the situation of "Can someone tell me what is wrong with this file?" but without actually providing a copy of the file.

I'm going to take a punt!

There's some white space sent to the client before the XML headers.



Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct