Support » Fixing WordPress » XML declaration not at beginning of document: some odd in XML

  • Recently I got errors in my sitemap and RSS feed. The sitemap issue was resolved by changing a plugin in favour of Google XML Sitemap but the problem in the feed is still there.

    Error in the feed:

    error on line 1 at column 30: XML declaration allowed only at the start of the document

    Please take a look at this — I don’t think the input thing should be there.

    1: <input type=”hidden” name=”mytheme_meta_box_nonce” value=”d715854c56″ /><?xml version=”1.0″ encoding=”UTF-8″?>
    2: <rss version=”2.0″
    3: xmlns:content=”http://purl.org/rss/1.0/modules/content/”
    4: xmlns:wfw=”http://wellformedweb.org/CommentAPI/”

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘XML declaration not at beginning of document: some odd in XML’ is closed to new replies.