How to change sitemap URL in Wordpress?

Hi,

Is there any way to change the sitemap URL? I’m using Yoast and the current sitemap is like this mysite.com/sitemap.xml. I want to change it to something else; mysite.com/sitemap.xml to mysite.com/somethingunique.xml.

Or is there any way to hide XML from public view(but not from Google). I don’t want my competitors to check what tweaks, posts that I have made recently.

Thanks in advance!

There is no any official way.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.