Yoast SEO
[Plugin: WordPress SEO by Yoast] WP SEO by Yoast: Sitemap: Google Webmaster Tools: Invalid date (6 posts)

  1. worldwidewandering
    Posted 3 years ago #

    I'm having a problem indexing my "WP SEO by Yoast" generated sitemaps in Google Webmaster Tools. It appears to be because of an invalid date.

    It shows for Last Mod.: (-0001-11-3 T00:0)

    Parent tag: url
    Tag: lastmod
    Value: -0001-11-30T00:00:00+00:00

    "An invalid date was found. Please fix the date or formatting before resubmitting." My question is, how do you fix the date?

    This is the one I get the error in:


    and this is the main sitemap:



  2. mefta
    Posted 3 years ago #

    It appears that you fixed the invalid date issue. It would be highly appreciated if you could share how you accomplished this. Thank you.

  3. worldwidewandering
    Posted 3 years ago #

    Hello mefta, I don't exactly remember what I did, it was 5 months ago, but I know I tried deleting the old sitemap and re-installing wp by Yoast and generating a new sitemap but I was using the "SmallBiz" Theme that makes it difficult to alter the front page and I think the problem was with the theme itself and what homepage I was using. Sorry I can't remember. Nobody ever answered me here.

  4. mefta
    Posted 3 years ago #

    Greetings, Many thanks for your helpful explanation which may allow me to deduce the underlying problem. Will adhere to the same set of actions you undertook in case that resolves Yoast's sitemap error. Thank you.

  5. Thilak
    Posted 3 years ago #

    @mefta: Where you able to fix this error? I'm facing a similar issue.

  6. clashmedia
    Posted 3 years ago #

    I am also finding the same issue! Yoast seems to be getting worse and worse. This is also causing some indexing issues for one of my sites.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic