Last Modified dates are invalid
-
OK, if lastmod is enabled (which mine ISN’T anymore) it produces dates that are invalid.
But, there is yet another issue.. If the post does NOT have a date, this plugin will falsely add a CLOSING “<lastmod/>” WITHOUT an initial “<lastmod>”! See the below for just “https://storefly.com”
ALSO, speaking of the above, why on earth is this plugin picking up my top level domain?
There needs to be a way of excluding stuff like this.
Can we please get this fixed? I have you a 5 star review.
Mike
<url><loc>https://storefly.com/return-policy/</loc><lastmod>2022-05-11T16:22:26-07:00</lastmod></url>
<url><loc>https://storefly.com/</loc><lastmod/></url> ***BAD***
<url><loc>https://storefly.com/shipping-info/</loc><lastmod>2022-09-25T12:12:25-07:00</lastmod></url>
<url><loc>https://storefly.com/about/</loc><lastmod>2022-11-21T10:36:54-07:00</lastmod></url>Via: https://www.inspyder.com/free/SitemapValidator.aspx
Validator Results
Errors were detected in your Sitemap. Your Sitemap is NOT valid!
The following errors were detected in your Sitemap file:
Error(s) Sitemap File Line # Position #
The ‘https://www.sitemaps.org/schemas/sitemap/0.9:lastmod’ element is invalid – The value ” is invalid according to its datatype ‘https://www.sitemaps.org/schemas/sitemap/0.9:tLastmod’ – The value ” is not valid according to any of the memberTypes of the union. wp-sitemap-posts-page-1.xml 3 2380
The ‘https://www.sitemaps.org/schemas/sitemap/0.9:lastmod’ element is invalid – The value ” is invalid according to its datatype ‘https://www.sitemaps.org/schemas/sitemap/0.9:tLastmod’ – The value ” is not valid according to any of the memberTypes of the union. wp-sitemap-taxonomies-pwb-brand-1.xmlEven Google complains….
Sitemap can be read, but has errors Invalid date 2 instances An invalid date was found. Please fix the date or formatting before resubmitting. Examples Line 3 Parent tag: url Tag: lastmod Line 3 Parent tag: url Tag: lastmod
The page I need help with: [log in to see the link]
- The topic ‘Last Modified dates are invalid’ is closed to new replies.