gpt4 book ai didi

search-engine - url 顺序在 XML 站点地图中是否重要?

转载 作者:行者123 更新时间:2023-12-04 02:06:30 26 4
gpt4 key购买 nike

对于搜索引擎和网站爬虫,URL 顺序在 XML 站点地图中是否重要?

目前,当生成站点地图时,我使用数据库中的唯一 ID 按顺序排列网站 url。我应该按日期顺序订购网址吗?

顺序站点地图

<urlset>
<url>
<loc>http://example.com/</loc>
<lastmod>2009-08-14</lastmod>
</url>
<url>
<loc>http://example.com/article/1/about_us</loc>
<lastmod>2009-07-14</lastmod>
</url>
<url>
<loc>http://example.com/article/2/contacts</loc>
<lastmod>2009-08-09</lastmod>
</url>
</urlset>

订购日期 网站 map
<urlset>
<url>
<loc>http://example.com/</loc>
<lastmod>2009-08-14</lastmod>
</url>
<url>
<loc>http://example.com/article/2/contacts</loc>
<lastmod>2009-08-09</lastmod>
</url>
<url>
<loc>http://example.com/article/1/about_us</loc>
<lastmod>2009-07-14</lastmod>
</url>
</urlset>

最佳答案

经过一番搜索后,我在 sitemaps.org 上找到了常见问题解答的答案。 .

Q: Does position of a URL in a Sitemap influence its use?

No. The position of a URL in the Sitemap is not likely to impact how it is used or regarded by search engines.

关于search-engine - url 顺序在 XML 站点地图中是否重要?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1274974/

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