WP Grim
Forum Replies Created
-
Forum: Reviews
In reply to: [Dynamic XML Sitemaps Generator for Google] Macht perfekten Job!Thank you very much @oliverpw
Forum: Reviews
In reply to: [Dynamic XML Sitemaps Generator for Google] Plugin does the job PefrectlyThank you, Revaz!
We’re happy to hear the plugin has been working perfectly for you for many years 😊
Forum: Reviews
In reply to: [Dynamic XML Sitemaps Generator for Google] +++++Thank you @sbbdtctv
Hello @mfonabel
We re-checked excluding Custom Post Types, Categories and other entities via Sitemap Options and everything working correctly for us. Excluded items are totally removing from XML Sitemap. Could you please check if you enabled Sitemap Cache in your website and clear the cache in order to check this issue one more time – https://wpgrim.com/docs/google-xml-sitemaps-generator/advanced-settings/sitemap-cache/? Please let us know if it doesn’t help.
Best regards
Forum: Reviews
In reply to: [Dynamic XML Sitemaps Generator for Google] Great PluginThank you @john-cahill
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] Multilingual sitemap index errorHello @sunlight1976
We fixed this issue and released a new version 2.2.2. Please update your plugin and everything should be okay. Thank you for reporting this issue.
Best regards
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] lastmod error on sitemapHello @sunlight1976
Plugin writes
<lastmod>fromwp_posts.post_modifiedand formats it withgmdate. If a page has post_modified = ‘0000-00-00 00:00:00’, common when a page is created programmatically or imported without setting modified dates, strtotime() returns a negative timestamp and gmdate() produces -0001-11-30T00:00:00+00 (line 0), which Google flags as “Data non valida” on the<lastmod>tag. Your /my-bookings/ entry likely has that invalid modified date in the database, so the sitemap entry inherits it. Please edit and re-save the “My Bookings” page and it should resolve the problem.Please let us know if it doesn’t help.
Best regards
Hello @vladynol
Your subscription was already cancelled. You can control your subscriptions via Account page – https://wpgrim.com/account/.
Please let me know if you need any help with this.
@winglouie Sure. We will try to implement current site URL into Cached Data in order to exclude caches from other sites like staging, local. Thank you for your clarification.
Best regards
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] hreflang WPMLHello @markusdesign
We’ve check this WPML option and behavior of other Sitemap plugins. Most Sitemap plugins don’t depend on this settings and adding hreflang=”{language_code}” in Sitemap LOC links as an additional attribute, as they don’t have separated Sitemaps for each language. But our plugin generates different Sitemaps for each language and hreflang attribute is not included even in Google Sitemap Structure – https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap.
Please check our multilingual Sitemaps and let us know if you need any extra solution with related to this topic.
Best regards
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] hreflang WPMLHello @markusdesign
We will check this issue asap and implement the fix. Thank you for using our plugin.
Best regards
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5Thank you for your clarification. This really helps us. Re-saving the settings, should remove old $media_sitemap key. We will try to simulate this issue and provide a solution in order to keep your current settings with removing only $media_sitemap option.
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5wp-content\plugins\xml-sitemap-generator-for-google\includes\Frontend.php Line:118 is calling Settings class object, but we are not mentioning media_sitemap anywhere in our plugin. This property has been removed. Please re-save your sitemap settings and compare below files with your website plugin files:
- wp-content/plugins/xml-sitemap-generator-for-google/includes/vendor/Settings.php
- wp-content/plugins/xml-sitemap-generator-for-google/includes/vendor/PTSettings.php
Please let me know if re-saving doesn’t resolve the issue and you cannot find any differences in above files.
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5Hello @track77
Could you please send me full php error with filename and lines? We couldn’t simulate this issue as $media_sitemap was totally removed from our plugin. Please help us finding where in your code $media_sitemap is calling.
Thanks in advance
Hello @winglouie
Could you please help us with debugging this issue? We need to clarify structure and content of sitemap URLs.
- Please enable the option to “Disable Media Sitemap Cache Collection” under Settings > XML Sitemaps > Advanced tab.
- Please add below code for outputting Sitemap URLs in /plugins/xml-sitemap-generator-for-google/trunk/includes/Sitemap.php file, line 62 (https://plugins.trac.ww.wp.xz.cn/browser/xml-sitemap-generator-for-google/trunk/includes/Sitemap.php#L62):
echo ‘<pre>’;
print_r( $this->urls );
echo ‘</pre>’;
die();
After adding this code, you are able to see URLs array content on your Image Sitemap page. Correct structure should be like this:
Array
(
[0] => Array
(
[0] => https://example.com/sample-page/
[1] => Array
(
[0] => https://example.com/wp-content/uploads/2025/05/website.jpg
)
)
[1] => Array
(
[0] => https://example.com/hello-world/
[1] => Array
(
[0] => https://example.com/wp-content/uploads/2025/05/website.jpg
)
)
)You can see the associative array in “0” item instead of URL string. Please send me this example or the whole structure from starting, only with 1 URL item. It may help us to debug this issue.
Please remove above code snippet after finishing the debug.
Also, if disabling Media Sitemap Cache Collection resolves this issue, please try to enable it back in order to check the Sitemap one more time.
Thank you for your help.
Best regards