Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在这里遇到了 Wordpress 和 WP-Supercache 的问题。
当我在插件中启用 gzip 压缩时,我的页面顶部会出现一条白线,这破坏了我的 RSS 提要的一些功能,因为它不能在行之前有白<?xml线。
<?xml
只有当我启用 gzip 时才会发生这种情况。当我禁用它时它会消失。
会是什么?
检查您的 .htaccess 文件和/或 php.ini 以查看 gzipping 是否已启用。如果是这样,那可能是空格和垃圾字符的原因。如果您不知道,请询问您的网络主机。