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

If I remove URLs from an XML sitemap will Google still index them?

· 52CE 我爱测

How can I update sitemap file without losing the old URLs? In other words, does the Google search engine keep the old URLs indexed and add the new ones, or does it erase removed URLs?

问题原文

原帖链接 · Abdessamad Elouarti · CC BY-SA 3.0

How can I update sitemap file without losing the old URLs? In other words, does the Google search engine keep the old URLs indexed and add the new ones, or does it erase removed URLs?

已采纳解答

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

Sitemaps don't have much to do with indexing or rankings. You could remove URLs from your sitemap or even remove your sitemap entirely without hurting your SEO.

  • A sitemap isn't needed to get the pages on your site crawled and ranked. Googlebot will crawl your site from the home page even without a sitemap.
  • Sitemaps can occasionally help Googlebot discover pages on your site that are not linked from other pages. Googlebot will crawl that page but usually it will decide not to index or rank it. To get pages indexed and ranked well, they really need to be linked from other pages.
  • Google doesn't use several fields that can be added to sitemaps. The changefreq and priority fields are just ignored. Googlebot comes back to crawl URLs based on how popular they are and how often Google has seen them change before.
  • The biggest benefit of Sitemaps is providing extra data to you in Google Search Console.
  • Google also uses sitemaps as a signal as to your preferred URLs. If you do have a sitemap you should ensure that it is clean.
    • No duplicates
    • No error URLs
    • No redirecting URLs

For more information see The Sitemap Paradox.

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

资料来源与适用范围

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

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

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