Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#53740 closed enhancement (duplicate)

Add lastmod to built-in sitemaps

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

Description

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
5 years ago

  • Component GeneralSitemaps
  • Keywords needs-patch added
  • Milestone Awaiting ReviewFuture Release
  • Owner set to swissspidy
  • Status newassigned
  • Type defect (bug)enhancement
  • Version5.5

#2 @ocean90
5 years ago

  • Keywords needs-patch removed
  • Milestone Future Release
  • Resolutionduplicate
  • Status assignedclosed

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.