当前位置: 动力学知识库 > 问答 > 编程问答 >

wordpress - i using Yoast SEO plugin to make site map, but post-sitemap.xml error

问题描述:

i using wordpress vesion 4.3, when used Yoast SEO only page post-sitemap.xml error.

how i can fix it?

thanks for wathcing.

网友答案:

Your plugin doesn't escape Vietnamese symbols. So try to rename image file that causes this error.

网友答案:

XML has a special set of characters that cannot be used in normal XML strings. Here '&' is a special character.

These characters are:

& - &
< - &lt;
> - &gt;
" - &quot;
' - &#39; 

For example, the following XML string is invalid:

<Organization>IBM & Microsoft</Organization>

Whereas the following is valid XML:

<Organization>IBM &amp; Microsoft</Organization>

—Note that we have replaced '&' with '&amp;' in the second XML string which makes it valid.

分享给朋友:
您可能感兴趣的文章:
随机阅读: