Hello @hellocharlie
Seems you are using Sitemap Index structure, therefore we’ve added a new filter for you, with version 1.8.12. After updating the plugin, you can add your Custom Sitemap URLs using sgg_additional_index_sitemaps filter. Here is an example:
add_filter( 'sgg_additional_index_sitemaps', 'my_additional_index_sitemaps' );
function my_additional_index_sitemaps( $sitemaps ) {
$sitemaps[] = 'https://hellocharliebooks.com/sitemap-translate.xml';
return $sitemaps;
}
You can add above code in your Theme or Child Theme functions.php file.
Best regards
Thanks. I appreciate it. Do you think this might be something you might add into the UI for a future release and if so, should I possibly hold off manually integrating this code? Perhaps automatic detection in case this particular plugin is detected and your script integrates it? I recognize how much effort you have put into this and how these things are easier said than done.
For now I manually submitted the language Sitemap and referenced it in my robots.txt so it’s not critical. It might even be redundant.
We will try to implement UI version of this feature. But automatically detecting the Sitemaps is a bit complex feature, as not everyone wants to find all Sitemaps, as many SEO plugins create Sitemaps and it may cause duplicating issue. Also, we don’t have Prisna Translate plugin, therefore we couldn’t make a compatibility with its Sitemaps.
Also, robots.txt contains your Sitemap Index URL, therefore Inner Sitemap URLs don’t need to be added manually. Don’t worry about this 🙂
Best regards