WP Grim
Forum Replies Created
-
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.wordpress.org/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
Hello @gemini23
If you are using Sitemap Index structure, after submitting main Sitemap URL, all inner Sitemaps should be listed when you visit /sitemap.xml page on Google Search Console. If you cannot see them, please remove current URL and try to re-submit it. It should resolve the problem. There is no limit or extra settings from our plugin side, as we’re not restricting any access to Sitemaps. Also, you can try to submit Inner Sitemap URL one by one if above solution doesn’t work.
Please let us know if it doesn’t resolve the issue.
Best regards
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] Videos not saved in a sitemapHello @dnauryz
This video issue is occurring because of your video URLs contain spaces ” “. Please remove spaces from your video source or replied them in order to fix this issue. We will also try to find a solution for this issue, however, even WordPress replaces spaces with “-” during Media Upload and default editor doesn’t include video tag for URLs with spaces.
Also, Featured Images are included only with Pro Version, here you can see more information about this – https://wpgrim.com/docs/google-xml-sitemaps-generator/pro-features/image-sitemap/.
Please let me know if you have any other requests.
Best regards
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5Hello @track77
We’ve totally removed $media_sitemap from our code. Please update your Pro version and it should fix the error. If it doesn’t;t fix the issue, please send us full error log in order to check where this error is coming from.
Best regards