Hello,
Thank you for reaching out to us regarding the issue with your sitemap not including all your pages. To address this problem, please follow these steps:
-
Validate Your Sitemap:
-
Ensure the Sitemap is Located in the Root Folder:
-
Ensure Your Posts Are Set to Index:
- Make sure that all your posts are set to index. You can do this by going to Rank Math SEO → Titles & Meta and enabling the Index checkbox.
- Don’t forget to click on Save Changes after enabling indexing.
By following these steps, you should be able to ensure that all your pages are included in your sitemap correctly. If the issue persists or you need further assistance, please feel free to reply to this ticket, and a human agent from our support team will assist you promptly.
We appreciate your patience and cooperation in resolving this matter.
Thank you!
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
Indexed, Not Submitted in Sitemap – Google Search Console » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
I Clicked on Save Changes, an i checked my sitemap on Validator Sitemap, there is no issue, but still not taken my new pages.
Hello,
Thank you for your patience.
In this case, please follow these steps to flush your sitemap cache:
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp
2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
https://rankmath.com/kb/exclude-sitemaps-from-caching/
3. Disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on your site:
/**
* Filter if XML sitemap transient cache is enabled.
*
* @param boolean $unsigned Enable cache or not, defaults to true
*/
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
If you’re not sure how to add this code, you can follow this guide:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Let us know how this goes.
This is important for me If the human person didn’t help me, i will cancel my subscription.
I still have. the same issue ! i put the hook + adding wp Rocket to not Cache URL of Site Map , i edit the Ht Access, Still have the same problem.
Hello,
Could you please share the affected URLs that are not appearing on your sitemap so that we can check the issue further for you?
Meanwhile, please try to follow the steps from this guideline and see if that works for you: https://rankmath.com/kb/url-not-in-sitemap/
However, it looks like you’re currently using the Rank Math PRO plugin on your website, but the account you have used to open this ticket is the Rank Math free version.
Can you please search and forward a receipt from FastSpring.com so we can locate your account and verify it?
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.