问题原文
原帖链接 · oniram · CC BY-SA 3.0
My website has 6milions pages of companies. ex: www.mywebsite.com/company-a
I will generate one sitemap index file and put the url in robots.txt
When the company A update one information in your page(example: address), I will change the lastmod in sitemap file that contais the url www.mywebsite.com/company-a and I will change the lastmod for this sitemap in sitemap index file. After, I will send a ping for google to my sitemap index file url.
My question is: Is it really worth doing this? What would be the gain in relation to not doing this update and send ping?
已采纳解答
原帖链接 · Stephen Ostermiller · CC BY-SA 3.0
Google's John Mueller says:
Sure, feel free to ping us when you have new or updated content!
Many CMS (including WordPress) also have a Sitemap generator either built-in or available as a plugin / extension. Those Sitemap generators will often also ping Google when you have changed or added content, making it easy for us to crawl and index that content as soon as possible once it's up. Google won't be upset if you ping too frequently (but doing so without changes on your site doesn't make sense either), so ping away!
Which makes it sound like generating a sitemap of new content and pinging Google could spur Googlebot into action. However, Google has said they don't usually use lastmod. Google ignores it because most webmasters don't keep it up to date. Google: We Mostly Ignore The LastMod Tag In XML Sitemaps.
I've seen pinging Google work nicely for fresh content. You can ping Googlebot to come fetch the page quickly after publishing it. That prevents scraper sites from copying quickly and getting Google to see it on their site first. I haven't seen much evidence that pinging Google gets Googlebot to come back and index updated content more quickly.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
