修复WordPress的Feed错误

by xiaolai on 2008/12/10 · 2 comments

in WordPress

不知什么时候起我的WordPress的Feed出了问题:

XML解析错误:xml处理指令不在外部实体的开始部分
位置:http://www.lixiaolai.com/index.php/feed/
行:2,列:1

折腾了一会儿,又开始出现以下错误提示:

XML解析错误:未找到元素
位置:http://www.lixiaolai.com/index.php/feed
行:1,列:1:
^

Google “Feed XML 错误 WordPress”,结果在这里找到答案

Solution

  • Check your wp-rss2.php and wp-atom.php files for blank lines outside of bracketed sections.
  • Check your wp-config.php file for blank lines outside of bracketed sections.
  • Check your theme’s functions.php file for blank lines outside of bracketed sections.
  • One by one, disable plugins and revalidate until you isolate the one causing the problem.

{ 2 comments… read them below or add one }

Charlie Fisher December 11, 2008 at 06:56

原来是FEED有问题呀,我还以为是我软件出问题了,我一真用rss来看你的博客的

Reply

mtmk September 26, 2010 at 14:09

一路找过来,终于看到一篇内容不一样有,有出处的了

Reply

Leave a Comment

Previous post:

Next post: