大网数据广告活动
网站运营与故障问答

Do all pages have to be added to XML Sitemaps?

· 52CE 我爱测

I'm planning to add an XML Sitemap to a client's existing website. According to this , it will help define the difference between the root website (aimed at UK) and the US website (aimed at the United States) and a few other lang…

问题原文

原帖链接 · Linda H · CC BY-SA 3.0

I'm planning to add an XML Sitemap to a client's existing website. According to this, it will help define the difference between the root website (aimed at UK) and the US website (aimed at the United States) and a few other languages/locales.

Is it enough to add only this to the sitemap or will Google punish me for not adding all pages in there? The content changes quite often and we don't have a way to deal with updating the XML regularly at this point. Also the existing content is well indexed on Google already, it's just the concern about multiple pages in English that's behind this.

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 3.0

Google's John Mueller has answered the question "should I include every single page of my blog in the Sitemap (including tag pages and the date-based archives) or just the important ones?":

It’s always a good idea for your XML Sitemap file to include all pages which you want to have indexed.

While he says that it is a "good idea" it shouldn't be necessary. Google uses sitemaps primarily for URL discovery. If Googlebot can discover URLs by crawling your website, those URLs wouldn't have to be in a sitemap. URLs excluded from the sitemap wouldn't get any of the other side benefits such as:

  • Recognizing preferred URLs for canonicalization
  • Being included in the indexed URL count in webmaster tools (WMT)
  • Getting prioritized in the list of crawl errors in WMT

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2013-09-20)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。