Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
This is quite unexpected, if the RM credit is causing an issue on your end you can also remove this by adding the following code to your theme’s functions.php file:
/**
* Filter to remove sitemap credit.
*
* @param boolean Defaults to false.
*/
add_filter( 'rank_math/sitemap/remove_credit', '__return_true');
I hope this info helps. Thank you.
​​​​​​​
Yes that worked perfectly. Accepted it right away with no issues. So that fixes the invalid sitemap and the 0 URLs discovered.
Hello,
That’s weird. The credit is only added to the HTML styling of the sitemap. It is not visible in the actual XML file presented to Google.
But, we are glad you were able to fix this issue. We will be taking a closing look at this and if there is an issue – we will fix it in an update.
Thank you.