Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#53740 closed enhancement (duplicate)

Add lastmod to built-in sitemaps

Reported by: garyillyes's profile garyillyes Owned by: swissspidy's profile swissspidy
Milestone: Priority: normal
Severity: normal Version: 5.5
Component: Sitemaps Keywords:
Focuses: Cc:


The built-in sitemap feature currently generates sitemaps with the bare minimum of tags, namely <loc>.

Since sitemaps are primarily consumed by search engines it would be sensible to add <lastmod> next to each <loc>, since <lastmod> is consumed by all search engines except Google. This would allow these search engines to schedule crawls much more effectively, saving resources and decreasing load on sites.

Disclosure: I work on Google Search

Change History (2)

#1 @swissspidy
3 years ago

  • Component changed from General to Sitemaps
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release
  • Owner set to swissspidy
  • Status changed from new to assigned
  • Type changed from defect (bug) to enhancement
  • Version set to 5.5

#2 @ocean90
3 years ago

  • Keywords needs-patch removed
  • Milestone Future Release deleted
  • Resolution set to duplicate
  • Status changed from assigned to closed

Hello @garyillyes, welcome to WordPress Trac!

This was already requested in #52099 which is currently closed as wontfix while it still has an open pull request assigned. Please feel free to comment on the ticket so it can be reconsidered.

Note: See TracTickets for help on using tickets.