Hello,
I’m sorry to hear that you are facing issues with your sitemap XML being incomplete and certain pages missing or not updated. To address this problem, you can follow these steps:
-
Exclude Sitemaps from Caching: Since you’ve already tried the solution mentioned in the article about excluding sitemaps from caching, and it didn’t help, we can explore other potential solutions.
-
Check if Your Sitemap is Accessible: You can use a tool like httpstatus.io to check if your sitemap is accessible. This will help identify any issues preventing Googlebot from accessing your sitemap.
-
Ensure Pages Are Set to Index: Make sure that the pages you want to include in the sitemap are set to be indexed. You can verify this setting in your Rank Math SEO settings.
If after trying these steps, the issue persists, please reply to this ticket, and a human agent from our support team will assist you further.
Thank you for bringing this concern to our attention. We are here to help you resolve this issue promptly.
Best regards.
Sources:
Why the Sitemap_Index.xml is Throwing a 404 Error » Rank Math
Remove Blank Lines From Sitemaps » Rank Math
Indexed, Not Submitted in Sitemap – Google Search Console » Rank Math
How to Fix “Incorrect HTTP Header Content-Type” Error in Sitemaps » Rank Math
Why Isn’t My URL Included in the Sitemap? » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Could you please share some affected page URLs that are not showing on your sitemap?
Meanwhile, please try to follow the steps below and see if that works for you:
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp
2. If the above step doesn’t work, kindly apply the following filter to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Let us know how it goes. Looking forward to helping you.
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.