问题库 SEO / 建站 how-to

Sitemap 页面太多要怎么拆分

快速答案

超过 50000 URL 或文件过大时拆成多个 sitemap,并用 sitemap index 汇总。

html
<sitemapindex><sitemap><loc>https://example.com/sitemap-posts.xml</loc></sitemap></sitemapindex>

使用要点

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

相关内容