boro
V2EX  ›  WordPress

WordPress 修改固定链接后 RSS 实效,没有内容输出,咋办?

  •  
  •   boro · Mar 26, 2015 · 2583 views
    This topic created in 4135 days ago, the information mentioned may be changed or developed.
    在修改WordPress的固定链接后,RSS的地址从...com/?feed=rss2变成了....com/feed/。
    问题来了,rss无法输出内容了。错误提示:

    “This page contains the following errors:
    error on line 1 at column 1: Document is empty
    Below is a rendering of the page up to the first error.”

    这会是什么原因呢 ,怎么解决呢 ?

    Thanks!
    Supplement 1  ·  Mar 26, 2015
    但是feed/aotm 这个地址却没有问题。
    2 replies    2015-03-26 09:42:56 +08:00
    jeeve
        1
    jeeve  
       Mar 26, 2015   ❤️ 1
    有个专门的插件,装上修复一下就可以了,我也遇到过

    http://wordpress.org/plugins/fix-rss-feed/

    试试看
    boro
        2
    boro  
    OP
       Mar 26, 2015
    @jeeve 谢谢!用它解决了,这个插件真有用。找了大半天,都不知道是哪个文件的空行导致的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1154 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 23:18 · PVG 07:18 · LAX 16:18 · JFK 19:18
    ♥ Do have faith in what you're doing.