Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
I can suggest that you remove all links that contain /feed on your sitemap by making use of the following code to filter the URLs that are added to the sitemap for indexing:
/**
* Filter URL entry before it gets added to the sitemap.
*
* @param array $url Array of URL parts.
* @param string $type URL type. Can be user, post or term.
* @param object $object Data object for the URL.
*/
add_filter( 'rank_math/sitemap/entry', function( $url, $type, $object ){
return $url;
}, 10, 3 );
I hope this info helps. Thank you.
​​​​​​​
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.