Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
Our plugin will follow the same structure as your website and since your website is currently redirecting from the www variation to the non-www variation our plugin is also loading the sitemap on the same variation.
If you change the structure of the website to load on the www variation our plugin will follow the same and switch the sitemap URL to that structure.
Don’t hesitate to get in touch if you have any other questions.
How can I change this please?
Hello,
First make sure that the Website URL and Site URL points to WWW version of the website. You can follow this article on how you can do this: https://www.wpbeginner.com/wp-tutorials/how-to-change-your-wordpress-site-urls-step-by-step/
Once, that’s done you can add this redirect code to make sure all the version are properly redirecting to WWW version of the website. For this you can follow this article: https://rankmath.com/kb/how-to-redirect-non-www-urls-to-www/
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Thank you
Can I have only sitemap on WWW url?
Hi there,
Thank you for contacting Rank Math support.
As my colleagues have explained, Rank Math creates your website sitemap based on the URL version that WordPress was installed on. If you want to have your sitemap on the www version of your site, you need to change your website URL to the www version as well.
However, if you only want to change the sitemap URL and not the rest of your site, I’m afraid that’s not possible, as we follow the same structure as your website.
If you have a specific reason for wanting this change, please let us know and we might be able to offer some alternative solutions or workarounds. For example, you could try redirecting your www-version to the non-www version.
We hope this clarifies your query and please do not hesitate to let us know if you need our assistance with anything else.
Have a great day!
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.