Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default lastModificationDate = now() #510

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

robindirksen1
Copy link
Contributor

Based on the latest Google' Search documentation (https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping#the-lastmod-element)

Second, it needs to consistently match reality: if your page changed 7 years ago, but you're telling us in the lastmod element that it changed yesterday, eventually we're not going to believe you anymore when it comes to the last modified date of your pages.

Based on the latest Google' Search documentation (https://developers.google.com/search/blog/2023/06/sitemaps-lastmod-ping#the-lastmod-element)

> Second, it needs to consistently match reality: if your page changed 7 years ago, but you're telling us in the lastmod element that it changed yesterday, eventually we're not going to believe you anymore when it comes to the last modified date of your pages.
@freekmurze freekmurze merged commit eadf327 into spatie:main Jun 27, 2023
1 check passed
@freekmurze
Copy link
Member

Agreed, thanks!

@bakerkretzmar bakerkretzmar mentioned this pull request Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants