如何解决Google网站管理员工具在站点地图标记中显示错误
我无法将此主XML提交给Google网站管理员
当我尝试将站点地图提交给网站站长进行索引时,它给了我这个错误:
Sitemap index can be read but has errors,Invalid XML tag This tag was not recognized. Please fix it and resubmit.
Line 6 Parent tag: sitemap
Tag: changefreq
Line 7 Parent tag: sitemap
Tag: priority
Line 12 Parent tag: sitemap
Tag: changefreq
我的主要sitemap.xml代码
<?xml version="1.0" encoding="utf-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemap-001.xml.gz</loc>
<lastmod>2020-08-24</lastmod>
<changefreq>hourly</changefreq>
<priority>0.8</priority>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-002.xml.gz</loc>
<lastmod>2020-08-24</lastmod>
<changefreq>hourly</changefreq>
<priority>0.8</priority>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-003.xml.gz</loc>
<lastmod>2020-08-24</lastmod>
<changefreq>hourly</changefreq>
<priority>0.8</priority>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-004.xml.gz</loc>
<lastmod>2020-08-24</lastmod>
<changefreq>hourly</changefreq>
<priority>0.8</priority>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-005.xml.gz</loc>
<lastmod>2020-08-24</lastmod>
<changefreq>hourly</changefreq>
<priority>0.8</priority>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-006.xml.gz</loc>
<lastmod>2020-08-24</lastmod>
<changefreq>hourly</changefreq>
<priority>0.8</priority>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-007.xml.gz</loc>
<lastmod>2020-08-24</lastmod>
<changefreq>hourly</changefreq>
<priority>0.8</priority>
</sitemap>
</sitemapindex>
第二点,在站点地图中使用gz压缩对SEO有好处吗?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。