Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
Unfortunately, we don’t have the option to change the XML file path. You can only add/change a slug to your sitemap path which you can check in this guide: https://rankmath.com/kb/filters-hooks-api-developer/#change-sitemap-base
You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps and please do not hesitate to let us know if you need my assistance with anything else.
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.