gpt4 book ai didi

xml - 此 sitemap.xml 文件有何无效之处?

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

我在我的站点中添加了一个 sitemap.xml 文件(参见 Why is my sitemap file considered empty? ),Google 说该 xml 无效:

Warnings
Invalid XML: too many tags
Too many tags describing this tag. Please fix it and resubmit.
Issues count: 48
Examples:
Line 16: Parent tag: url
Tag: loc

Line 17:
Parent tag: url
Tag: lastmod

Line 18:
Sep 16, 2013
Parent tag: url
Tag: changefreq

这是 sitemap.xml 文件:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.awardwinnersonly.com</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>http://www.awardwinnersonly.com/getHugos.cshtml</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>weekly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/pulitzers2.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/nba.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly"</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/NBCCJr.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/noba.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/grammies.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/indies.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/ama.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/cma.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/oscars.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/sundance.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/cannes.json</loc>
<lastmod>20 13-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
<loc>http://www.awardwinnersonly.com/Content/goldenglobes.json</loc>
<lastmod>2013-09-16</lastmod>
<changefreq>monthly</changefreq>
<priority>.7</priority>
</url>
</urlset>

最佳答案

您缺少打开和关闭 <url></url>您的大部分列表周围的标签。

关于xml - 此 sitemap.xml 文件有何无效之处?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18840079/

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