·
336 次浏览
标签: 插件
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/
并非只有这个插件会报错网站地图,其他插件的书写不规范也可能会导致这个问题; 还有就是主题functions.php文件开头有空行,也会导致这个问题;
建议把所有插件禁用后,逐个开启一一寻找问题插件。
对不起,你是个好人
有奖参与论坛社区问答