问题库 SEO / 建站 how-to

Sitemap 的 lastmod 应该怎么填

快速答案

只在页面内容真实更新时更新 lastmod,不要每天全量刷新。

html
<lastmod>2026-09-28</lastmod>

使用要点

  • 先检查实际响应头和页面源码,再改 sitemap、robots 或重定向规则。
  • 同一个 URL 不要同时被 noindex、canonical 和重定向表达成不同意图。

相关内容