Make WordPress Core

Opened 10 months ago

Last modified 9 months ago

#52571 new defect (bug)

WordPress core sitemap has an invalid date issue.

Reported by: atulhost Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.6.1
Component: Sitemaps Keywords: reporter-feedback
Focuses: Cc:


Hello WordPress team,

I recently started noticing some issues from search engine consoles that my sitemap located at /wp-sitemap.xml has some date and time errors and showing invalid last modified date format.

When I checked the sitemap by my own, the homepage URL was showing plain date and time (like - 2021-02-18 09:21:07) while the rest of the pages having valid date structure (like - 2021-02-18T16:03+00:00).

Please look into the issue and fix them asap because this issue causes instability in search engine index.

Attachments (1)

Screenshot 2021-02-19 103701.jpg (23.8 KB) - added by atulhost 10 months ago.
WP Sitemap

Download all attachments as: .zip

Change History (4)

#1 @sabernhardt
10 months ago

  • Component changed from General to Sitemaps

#2 @SergeyBiryukov
10 months ago

#52609 was marked as a duplicate.

#3 @chesio
9 months ago

  • Keywords reporter-feedback added
  • Severity changed from critical to normal

Hi @atulhost,

core XML sitemaps have entries without dates (AFAIK this is for performance reasons) - how exactly are you enabling dates to be included in core XML sitemaps on your website?

Note: See TracTickets for help on using tickets.