I install wordpress and checked “Discourage search engines from indexing this site”, but when I uncheck it, the xml setting is still available:The XML Sitemap is disabled because of your site’s visibility settings (above).
]]>Hello.
Thank you for your simple but very useful plugin.
We found a problem while using it.
Is it possible to output as lastmod for each taxonomy tag news-tag /wp-sitemap-taxonomies-news-tag-1.xml as the date of the last addition of a post with this tag, and NOT the date of the last change of the tag itself.
Such a date of last modification of a page like /news-tag/dfgdfg would be more logical for Googlebot to bypass.
The solution to the problem could not be found – they only suggest deleting the XML Sitemaps Manager plugin and replacing it with an alternative solution.
Can you, as the author of the plugin, suggest a solution? Perhaps with the help of third-party code, but for it to work correctly in conjunction with the XML Sitemaps Manager plugin.
]]>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.xml
Even 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
]]>
On one site, with this plugin enabled, the wp-admin crashes.
It seems the issue is in the file class.xml-sitempas-manager-admin.php
on line 161
. It should read:
$max_urls = get_option( 'xmlsm_max_urls', false );
(the false
was ommitted)