问题原文
原帖链接 · PetaspeedBeaver · CC BY-SA 3.0
In a sitemap, is it important to include information about when the url was last changed in a <lastmod> tag?
How does not including a <lastmod> tag in a sitemap affect how my site is crawled?
If I leave this information out, how does it affect indexing in search engines?
According to the protocol definition this is an optional tag.
社区高分解答
原帖链接 · Chris Rutherfurd · CC BY-SA 3.0
Most crawlers tend to ignore the lastmod tag as many webmasters do a poor job of keeping it up-to-date and forget to update it when they update content on the site. A sitemap is still important to identify content on the site but even if the lastmod tag shows the content hasn't been updated since the last crawl the crawler will still crawl it to confirm the content hasn't changed.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
