-
I am experiencing an issue with my sitemap. My website has 5 main features/pages, but the sitemap generated by Rank Math is only including 4 of them. I have checked my settings, ensured all pages are published, and confirmed that they are set to be indexed, but feature/page is still missing from the sitemap.
-
Hello,
We apologize for the issue you are facing with your sitemap not including all features of your site. Here are a few things you can check to resolve this issue:
-
Custom Canonicals: If you have set a custom canonical URL for the missing feature/page, it will not appear in the sitemap. Ensure that you remove any custom canonical tags from that page so Rank Math can include it in the sitemap.
-
Sitemap Settings: Double-check your sitemap settings in Rank Math. Go to Rank Math SEO → Sitemap Settings and ensure that the specific post type for your missing feature/page is enabled to be included in the sitemap.
-
Content Availability: Make sure that the page has content and is not set to private or password-protected, as these types of pages will not be included in the sitemap.
-
Flush Permalinks: Sometimes, flushing permalinks can help resolve issues with the sitemap. You can do this by going to Settings → Permalinks in your WordPress admin area and clicking the “Save Changes” button without making any changes.
If you have checked all these settings and the issue persists, we recommend replying to this ticket with any additional details or screenshots of your settings. A human agent from our support team will then assist you further.
Thank you for raising this concern!
Sources:
Rank Math Sitemap Issues and Their Fixes » 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.
Its not showing
Hello,
Thank you for contacting us. We apologize for any inconvenience this issue may have caused.
Please follow the steps below for initial troubleshooting:
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/
If the issue persists then try disabling the transient cache for the sitemap. This will make sure that your XML sitemap always reflects the latest changes on your site. Kindly add this code snippet to 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/.
After you add the code, please clear any cache on your site or server and check your XML sitemap again. If you’re still facing issues with the sitemap, please let us know – we are happy to investigate further.
Hello,
Thank you for contacting us. We apologize for any inconvenience that may have been caused.
Please share the affected page URL with us so we can check.
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. 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 a filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/Once done, clear your website cache and check the sitemap again.
Let us know how it goes. We look forward to hearing from you.
Thank you.
I have done this. Still its not showing all the features
Hello,
Can you please share some of the ‘feature’ posts URLs that are missing from the https://www.messageblink.com/feature-sitemap.xml sitemap?
Please note that for Rank Math to include a page/post in the sitemap, it must be set to index and must not have a custom canonical URL or referencing another page in the canonical URL.
We look forward to hearing back from you.
Thank you.
-
You must be logged in to reply to this ticket.