我正在尝试向我的 sitemap.xml 文件添加语言,但出现了 "链接上的命名空间前缀 xhtml 未定义" 的错误。我该如何定义它?在谷歌上找不到有用的东西。
这是文件:
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
<url>
<loc>https://www.leepio.dk/</loc>
</urlset>
xsi
和schemaLocation
前缀... - Quentin