我已将我的 sitemap.xml 提交到谷歌网站管理员工具中。我们发现了诸如“无法解析 XML 站点地图,因为它包含一个或多个未绑定的命名空间前缀。例如,在没有事先 xmlns:xhtml="http://www.w3. org/1999/xhtml”。
我的站点地图网址: http: //www.cadservicesindia.com/sitemap.xml
我已将我的 sitemap.xml 提交到谷歌网站管理员工具中。我们发现了诸如“无法解析 XML 站点地图,因为它包含一个或多个未绑定的命名空间前缀。例如,在没有事先 xmlns:xhtml="http://www.w3. org/1999/xhtml”。
我的站点地图网址: http: //www.cadservicesindia.com/sitemap.xml
看起来您的 XML 文件中的第一行格式错误。似乎将网址粘贴了两次,可能是错误的:
<urlset xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
试试这条线:
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
有同样的问题。尝试在顶部添加
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">