Hello,
We apologize for the issue you are facing with your sitemap. It seems that not all of your pages are being included in the Rank Math generated sitemap. Here are a few steps you can take to troubleshoot this issue:
-
Check Post Settings: Ensure that all your pages are set to "index". You can do this by going to Rank Math SEO → Titles & Meta and checking the Robots Meta settings for each page.
-
Flush Permalinks: Sometimes, flushing permalinks can resolve sitemap issues. You can do this by going to the Permalinks settings in your WordPress dashboard and clicking Save Changes without making any changes.
-
Validate Your Sitemap: Use the Validate XML Sitemap tool to check if your sitemap is correctly configured. This can help identify any issues with the sitemap structure.
-
Check for Noindex Settings: If any of your pages are set to "noindex", they will not appear in the sitemap. Make sure all relevant pages are set to "index".
-
Custom Canonicals: If you have added custom canonical URLs to any of your posts or pages, they may not appear in the sitemap. Consider removing those custom canonicals if you want them included.
If these steps do not resolve the issue, please reply to this ticket with any additional details or errors you may be encountering, and a human agent from our support team will assist you further.
Thank you for raising this concern!
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
A custom canonical was missing a slash at the end.
Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
It seems you have marked this ticket as “Resolved”. We checked your page sitemap and there are still only 3 pages shown there.
If you have fixed the issue by correcting the Canonical URL but the changes in the sitemap aren’t reflecting, please follow the steps below:
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. Apply the following filter code to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/
Looking forward to helping 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.