Hello,
I apologize for the inconvenience you are facing with your sitemap. The 404 error on your sitemap can indeed impact how Google indexes your website and may lead to issues like your recent posts not showing up.
To address the 404 error on your sitemap at https://rankmath.com/kb/sitemap-404-error/#index you can follow these steps:
-
Flush the Sitemap Cache: After making any changes, it’s essential to flush the sitemap cache. You can do this by navigating to Rank Math SEO → Sitemap Settings and adjusting the Links Per Sitemap. Then, save the changes and go to Settings → Permalinks in your WordPress admin area and click on Save Changes.
-
Fix Sitemap Issues on Nginx or Apache Server: If you are using an Nginx server, ensure you have added the necessary rewrite rules. You can find detailed instructions on how to add these rules in our knowledgebase article.
If after following these steps the issue persists, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.
Thank you for reaching out, and we appreciate your patience while we work on resolving this issue for you.
Sources:
Why the Sitemap_Index.xml is Throwing a 404 Error » Rank Math
Hello,
Thank you for contacting Rank Math support.
When we checked this we can see that both your sitemap_index as well as your individual sitemaps are all loading fine.
Can you please confirm which sitemap is showing a 404 error?
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.