Missing or Invalid Date in XML Sitemap

Last update: 23 June, 2016

Google Search Console (former Google Webmaster Tools) may flag your sitemap for a missing or invalid date in your sitemap.

Sitemap Index

A empty or missing date in the sitemap index typically means the individual sitemap is not available. Opening the individual sitemap with the missing date will display a 404 error. Exclude the individual sitemap by going to Admin > SEO > XML Sitemaps and unchecking the post types or taxonomies you are not using on your site.

Individual Sitemaps Excluding The Video Sitemap

A empty or missing date on an individual sitemap typically indicates an invalid timestamp in your database.

1
Open the post displaying the invalid date in edit mode.
2
Make a minor change to the content. For example, add “This post has been updated.” to the top of the content.
3
Update the post to save changes.
4
Remove the minor change you made in step 2.
5
Update the post to save changes. Repeat steps 1-5 for all URLs with invalid dates.
6
Purge cache, if applicable.

Video Sitemap

An invalid date in the sitemap typically indicates a miscommunication between our plugin and the WordPress database.

1
Open the post displaying the invalid date in edit mode.
2
Remove the video.
3
Update the post to save changes.
4
Re-add the video.
5
Update the post to save changes. Repeat steps 1-5 for all videos with invalid dates.
6
Purge cache, if applicable.
We understand the above steps are tedious for sites with a large amount of videos with invalid dates. We are investigating alternative options at this time.

Was this article helpful? ·