对于搜索引擎和网站爬虫,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/