实测【WP Content Copy Protection】插件导致网站地图报错

标签: 

正在查看 3 个帖子:1-2 (共 2 个帖子)
  • 作者
    帖子
  • xiao5548697
    • 文章数量: 12
    @xiao5548697
    楼主
    This page contains the following errors:
    error on line 501 at column 6: XML declaration allowed only at the start of the document
    Below is a rendering of the page up to the first error.

    启用此插件后,访问网站地图sitemap.xml报上面错误,禁用后访问正常!

    各位请谨慎安装此插件!

    插件wordpress官方地址:https://wordpress.org/plugins/wp-content-copy-protection/

    来自深圳, 广东, 中国
    xiao5548697
    • 文章数量: 12
    @xiao5548697
    楼主

    并非只有这个插件会报错网站地图,其他插件的书写不规范也可能会导致这个问题;
    还有就是主题functions.php文件开头有空行,也会导致这个问题;

    建议把所有插件禁用后,逐个开启一一寻找问题插件。

    来自深圳, 广东, 中国
    孙锡源
    • 文章数量: 704
    @ibadboy

    对不起,你是个好人

    来自张家口市, 河北省, 中国
正在查看 3 个帖子:1-2 (共 2 个帖子)
  • 哎呀,回复话题必需登录。

话题信息