Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
Sorry to disappoint you, but it is not possible to hide/rename the Sitemaps generated by Rank Math.
However, if you want, then you can change the base of the sitemap URL using the following filter in your active theme’s functions.php file:
https://rankmath.com/kb/filters-hooks-api-developer/#change-sitemap-base
You can set it up like this:
add_filter( 'rank_math/sitemap/base_url', function( $base ){
return 'anyword/';
}, 10, 1 );
And your sitemap URL will be:
https://domain.com/anyword/sitemap_index.xml
I hope that helps.
Thank you.
Hello,
You can add the code in the theme’s functions.php file or with the Code Snippets plugin.
Here is a guide you can follow:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps.
Thank you.
Hello,
Can you please follow these steps?
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp
2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
https://rankmath.com/kb/exclude-sitemaps-from-caching/
That should fix the issue. Please let me know if that does not. We are here to assist.
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.