-
Can you please check why my sitemap is having only one hello-world post?
-
Hello, we apologize for the issue you are facing with your sitemap not updating. There are several reasons why your sitemap might only be showing the "hello-world" post. Here are some common causes and their solutions:
-
Noindex Setting: Ensure that the posts you want to include in the sitemap are not set to Noindex. You can check this by going to the Advanced tab settings of each post and ensuring the Robots Meta tag is set to Index.

-
Custom Canonical URL: If you have set a custom canonical URL for your posts, they may not appear in the sitemap. Check the Advanced Tab in Rank Math settings for each post and ensure that the canonical URL is set correctly.

-
Sitemap Settings: Go to Rank Math SEO → Sitemap Settings and ensure that you have not excluded any post types or specific posts from appearing in the sitemap.
-
Empty Archive Pages: If your category or tag archive pages are empty, they will be excluded by default. You can enable the option to include empty terms in your sitemap settings.

-
Caching Issues: Sometimes, caching can prevent the sitemap from updating. Make sure to clear any cache on your site and check if that resolves the issue.
If you continue to experience issues after checking these settings, please reply to this ticket with your site URL so that a human agent from our support team can assist you further. Thank you for raising this concern!
Sources:
Why Isn’t My URL Included in the Sitemap? » Rank MathThis is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
Hello,
Can you please share your sitemap URL with us so that we can check the issue further for you?
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/pipRDp2. 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 to your site to disable the transients cache for the sitemap.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');Here’s how you can add a 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.
-
You must be logged in to reply to this ticket.