sitemap站点地图的SEO配置有哪些注意事项?

盐学长 152 2025-07-06 22:53:42

1. sitemap有哪些常用配置?

<loc>, <priority>, <lastmod><changefreq>

2. sitemap有哪些小众但有用的基础配置?

priority 可以优化爬虫的爬取效率,是经常被误配置或者疏漏配置的参数。例如,当爬虫已经获得了一个url清单,它优先爬取哪个url就可以参考这个配置。

  • e.g. 每个url要在sitemap里面指定一下url的更新频率:

最高优先级(priority: 1.0)

  • URL 示例https://seo.yanpeizhen.com/news/category/trading-strategies/forex-guide

  • Sitemap 代码

<url>  <loc>https://seo.yanpeizhen.com/news/category/trading-strategies/forex-guide</loc>  <lastmod>2025-07-01</lastmod>  <changefreq>monthly</changefreq>  <priority>1.0</priority></url>

 

最低优先级(priority: 0.1 - 0.4)

  • URL 示例https://example.com/news/archive/2023-01-18-small-event

  • Sitemap 示例代码

<url>  <loc>https://example.com/news/archive/2023-01-18-small-event</loc>  <lastmod>2023-01-18</lastmod>  <changefreq>never</changefreq>  <priority>0.2</priority></url>

e.g.内容爬取优先级划分举例:

 

3. 新增的URL如何让Google及时抓取到呢?

1. 新url自动加入sitemap
2.1 谷歌会按照它的频率爬取sitemap
2.2 如果不满意谷歌自动的频率,则在GSC后台手动提交一下。

上一篇:
下一篇:翻页类权重分配的两种主流SEO配置方案
相关文章