gpt4 book ai didi

wordpress - 我使用 Yoast SEO 插件制作站点地图,但是 post-sitemap.xml 错误

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:48:18 24 4
gpt4 key购买 nike

enter image description here

我使用 wordpress vesion 4.3,当使用 Yoast SEO 时只有页面 post-sitemap.xml 错误。我该如何解决?感谢观看。

最佳答案

XML 有一组特殊的字符,不能在普通的 XML 字符串中使用。这里'&'是一个特殊字符。

这些字符是:

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

例如,下面的 XML 字符串是无效的:

<Organization>IBM & Microsoft</Organization>

而以下是有效的 XML:

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

—请注意,我们已将第二个 XML 字符串中的 '&' 替换为 '&',这使其有效。

关于wordpress - 我使用 Yoast SEO 插件制作站点地图,但是 post-sitemap.xml 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33295148/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com