Sitemap lastmod not updating

What could be the problem if the date between the lastmod tags aren’t updated even though the rest inside the sitemap is ?

Here the lastmod still contains the year 2020 instead of 2022

Google only uses this an indication and not a rule.

Outside of this bug…

Jekyll doesn’t care about modified dates like WP does.

Then your sitemap uses the current date for every page then everything has the same date and the field has no use for Google.

Except maybe if you have a post and you want the creation time. But then again what if you modify the post.

1 Like

Ah ok! Anyways I also submitted the new sitemap via google console since I had some redirects for lots of paths so wasn’t sure if the lastmod didn’t change google would also not see the changes and so not index my redirect urls