Hello,
We apologize for the issue you are facing with your sitemap. The message you are seeing, "This XML file does not appear to have any style information associated with it," is a common warning that indicates the XML file is being displayed without any associated stylesheet. This does not necessarily mean there is an error with your sitemap itself, but rather how it is being rendered in the browser.
To troubleshoot this issue, please follow these steps:
-
Validate Your Sitemap: Use the Validate XML Sitemap tool to check if your sitemap is correctly configured. Enter your sitemap URL and click VALIDATE SITEMAP.

-
Check for Empty Sitemap: Ensure that your sitemap is not empty. If all your posts are set to noindex, your sitemap will not contain any URLs. You can check this by going to Rank Math SEO → Titles & Meta and ensuring that the Index checkbox is enabled for your posts.

-
Flush Permalinks: If you are getting a 404 error or if the sitemap is not accessible, try flushing permalinks by going to Settings → Permalinks in your WordPress admin area and clicking Save Changes without making any changes.

-
Check for Caching Issues: If you have caching plugins installed, ensure that your sitemap is excluded from caching. You can refer to our tutorial on excluding sitemaps from caching for more details.
If the issue persists after following these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
I have done all these steps and I still have the same problem
I am trying all step but still not working
Hello,
From the links in the sitemap, that is a clear indication that a website is infected with malware. This is usually related to the Japanese keyword hack: https://web.dev/articles/fixing-the-japanese-keyword-hack
If this is happening very recently and you take action now, you could still stop the results from going to SERPs.
We would recommend starting by performing a security audit of the website and fixing any issues you find.
Looking forward to helping you.
How can I remove these viruses from my site?
Hello,
Please get in touch with your web host for assistance resolving this issue on your site.
Here’s a guide you may find useful to secure your WordPress site:
https://rankmath.com/blog/secure-wordpress-site/
Looking forward to helping 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.