Hello,
Thank you for reaching out to us regarding the issue with your website’s sitemap on coder-edge.com. We understand the concern you have about the wrong pages being indexed in the sitemap.
To address this problem, we recommend following these steps:
-
Check Sitemap Index File: Ensure that the sitemap_index.xml file is correctly generated and accessible on your server. You can access it at https://rankmath.com/kb/wordpress-hooks-actions-filters/.
-
Flush Sitemap Cache: Try flushing the sitemap cache by following the steps mentioned in our knowledge base article on why the sitemap_index.xml is throwing a 404 error.
-
Exclude Sitemap Files from Caching: If you are using any caching plugins, make sure to exclude the sitemap files from being cached. This can help in ensuring that the correct sitemap is served to search engines.
If after following these steps, the issue persists, please consider checking for any conflicting plugins or themes using the Health Check plugin as mentioned in our guide.
If you are unable to resolve the issue with the provided steps, please reply to this ticket, and a human agent from our support team will assist you further.
Thank you for your understanding and cooperation.
Best regards.
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
Why the Sitemap_Index.xml is Throwing a 404 Error » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
We’ve checked your sitemap and it seems like your website got infected by some malware as the sitemap files are not being generated by our plugin but are being hijacked by some malicious code on your website.
We recommend that you do a complete security audit on the website and hire a professional developer if you don’t know exactly how to do that.
Please don’t hesitate to let us know if you have any other questions.
Thank 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.