7

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.

1
  • Do not worry about it. There is no effect.
    – closetnoc
    Commented Apr 17, 2016 at 14:03

1 Answer 1

6

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.

3
  • Guilty as charged!!
    – closetnoc
    Commented Apr 18, 2016 at 3:52
  • The above answer is copied from this answer by Gary Illyes Commented Apr 13, 2021 at 6:38
  • 1
    @mehov I don't see this content at the link you provided, nor do I see evidence that this answer was plagiarized from anywhere else. Commented Mar 17, 2022 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.