WP Grim
Forum Replies Created
-
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
Hello @furi3r
Today we released a new version 2.1.11 with filters:
- sgg_sitemap_exclude_post_ids
- sgg_sitemap_exclude_term_ids
- sgg_sitemap_include_only_term_ids
Now, you are able to use these filters for excluding IDs by custom code. These filters get & return array of IDs.
Best regards
Thank you also @furi3r . We will implement extra filters and will let you know about this update.
Best regards
Sure, we had added How to generate Sitemap using CLI FAQ section in plugin description. Hope it will be helpful for you.
Hello @track77
I’m happy to inform you of the new version of our plugin 2.1.9, which includes WP CLI Commands for generating Sitemaps. Here you can see full documentation of our WP CLI Command – https://wpgrim.com/docs/google-xml-sitemaps-generator/general/generating-sitemaps-via-wp-cli/.
Please let me know if there will be any problems with WP CLI Commands.
Best regards
Hello @furi3r
This filter was made for filtering json array of IDs for our Pro Version – https://wpgrim.com/docs/google-xml-sitemaps-generator/pro-features/sitemap-pro-features/#exclude. Please use below filter in order to exclude posts & taxonomies from Sitemaps:
// Exclude Posts from Sitemap
function custom_exclude_posts_from_sitemap( $value, $post_id ) {
$post_ids = array(
1256,
435,
8247,
);
if ( in_array( $post_id, $post_ids, true ) ) {
return false;
}
return $value;
}
add_filter( 'xml_sitemap_include_post', 'custom_exclude_posts_from_sitemap', 100, 2 );
// Exclude Categories from Sitemap
function custom_exclude_term_from_sitemap( $value, $term_id, $taxonomy ) {
$term_ids = array(
235,
342,
13,
);
if ( in_array( $term_id, $term_ids, true ) ) {
return false;
}
return $value;
}
add_filter( 'sgg_sitemap_exclude_single_term', 'custom_exclude_term_from_sitemap', 100, 3 );We will try to add advanced filters for Excluding IDs as you wish with coming updates.
Thank you for using our plugin.
Thank you for clarifying the issue. We had already started working on WP CLI command for generating Sitemaps. We will try to release this feature asap. I will let you know about this update in this thread. As you mentioned, WP CLI command will make Image Sitemaps generation faster and will help to avoid this kind of timeout issues.
Thank you one more time.
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5Thank you @btreece84
Yes, we are using dynamic caching logic for Image and Video Sitemaps in order to store links separated into chunks. Therefore, it takes a bit long time for first loading. This dynamic cache will be cleared automatically on change Settings and Save Post hooks.
We will release another update within a few days which totally remove old media_sitemap checking. Please let us know if you face any problems after this update. We are trying to do everything smoothly.
Best regards
Thank you. We will be waiting for your reply.
Best regards
Hello @track77
Could you please clarify approximately how many images you have in your Media Library? You can check it in your Dashboard > Media page. Also we sent you email from Pro Version Support, please check it if possible.
Best regards
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5@track77 Could you please replace this version on your site – https://drive.google.com/file/d/1ZWdJbSKBYNQdGDf–c1hWQsn5Jb2Vk50/view?usp=share_link and check your Image Sitemap one more time after excluding bbPress replies?
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5Hello @track77
Thank you for your quick check and fix code. We implemented below changes and released a new version 2.1.7:
class PTSettings {
...
public $media_sitemap = null;Could you please recheck this deprecated error and check if everything is okay with your Image & Video Sitemaps?
Thank you for your help 🙂
- This reply was modified 1 year ago by WP Grim.
Forum: Plugins
In reply to: [Dynamic XML Sitemaps Generator for Google] PHP Deprecated in version 2.1.5Hello @track77 @btreece84
Thank you for sending detailed logs. We’ve fixed this deprecation error and released a new version. Please update your plugin and the error should disappear. This error was occurred after separating Image & Video Sitemap settings.
Thank you for helping us improve this plugin!
Best regards