Hello,
We’re sorry to hear about the trouble you’re facing with your sitemap. It’s important to ensure that all your published blogs are included in the sitemap for proper indexing by search engines.
To resolve this issue, you can follow these steps:
-
Validate Your Sitemap: First, ensure that your sitemap is correctly configured by using the Validate XML Sitemap tool. This will help confirm if the sitemap is set up correctly.
-
Ensure Posts Are Set to Index: Check if all your posts are set to index. You can do this by heading over to Rank Math SEO → Titles & Meta and enabling the Index checkbox in the Robots Meta settings.
-
Check if Your Sitemap is Accessible: Use the httpstatus tool to check the status code of your sitemaps. If the status code is 200, make sure to redirect all the XML sitemap variations to the final variation of the XML Sitemap.
If you’ve already tried these steps and are still facing issues, please feel free to reach out to our support team for further assistance. You can contact them here.
We hope this helps you resolve the issue with your sitemap. If you have any other questions or concerns, please don’t hesitate to ask.
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Remove Blank Lines From Sitemaps » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
Indexed, Not Submitted in Sitemap – Google Search Console » Rank Math
How to Enable Sitemaps for Tag Archives » Rank Math
I published 30 blogs on the website but when I saw sitemap_index.xml it showed me only the post only 9 blogs. please help how I resolve this issue.
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Can you 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. 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. If the above steps don’t seem to 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.