WordPress的XML报错:error on line 2 at column 6: XML declaration allowed only at the start of the document

昨天给WP加了点料,突然发现WP自带的wp-sitemap.xml不能访问了,出现如下:

This page contains the following errors:
error on line 2 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.
经过排查发现因为自己手贱给头部

文章版权归原作者所有或来自互联网,未经允许请勿转载。如有侵权请联系我删除,谢谢!
THE END
分享
二维码
打赏
< <上一篇
下一篇>>