• Resolved eikomadori

    (@eikomadori)


    Thanks for the nice plugin for easily modifying the core WordPress sitemaps. A great improvement on the plugin I used for this before.

    Unfortunately the ‘Add last modification date’ option appears to be creating tags with an invalid format for the sitemap schema https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
    The format should be ‘2005-05-10’ or ‘2005-05-10T17:33:30+00:00’ but what it is generating is ‘2005-05-10 17:33:30’ without the ‘T’ before the time part and without the timezone designator. See https://www.w3.org/TR/NOTE-datetime

    Google processes the sitemap but reports an error, while Bing doesn’t seem to be processing it at all.

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kybernetik Services

    (@kybernetikservices)

    Thank you @eikomadori for reporting this issue.
    I’ll double check when I run my tests on WordPress 6.0 anyway. If I can confirm the issue is related to WP Sitemaps Config I will fix it for sure.
    I’ll let you know. Please stay tuned.

    Plugin Author Kybernetik Services

    (@kybernetikservices)

    Hello @eikomadori .
    I have just published version 2.1.0 which includes a fix of the wrong date/time format.
    If you like the plugin, please honor my work by leaving your review at https://ww.wp.xz.cn/support/plugin/wp-sitemaps-config/reviews/.
    Thank you!

    Thread Starter eikomadori

    (@eikomadori)

    @kybernetikservices Thanks for the quick work on this. Bing is now processing the sitemaps without problem, but Google still reports an error with the date format (though unhelpfully provides no further detail, just “An invalid date was found. Please fix the date or formatting before resubmitting.”). Looks like that’s an error on Google’s part, not yours.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Invalid date format’ is closed to new replies.