Hello,
Thank you for contacting Rank Math today, and we apologize for any inconvenience this may have caused.
For initial troubleshooting, please follow these steps:
1. Ensure you’re using the latest version of your plugins/theme including Rank Math.
2. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/xXXhDt
3. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server:
https://rankmath.com/kb/exclude-sitemaps-from-caching/
I hope this information is helpful, and please do not hesitate to contact us if you require any additional support.
Thank you.
My question is, why is it not including the posts?
Instead, it’s showing the dynamic blog page.
Inspect my sitemap URL once Please.
I use the Hypercache plugin. JUst in case, you want to know it.
When I use any external sitemap generator tools, they are generating perfectly and including all pages and posts.
https://imgur.com/undefined
Check the setting, I also have made changes in the .htaccess file. But nothing worked.
To help you understand this.
I have one static homepage and a dynamic blog page with one blog post.
The sitemap includes everything but the one blog post. I do not understand why is it not including in sitemap-post.xml
Instead of that, it shows my main dynamic blog page.
One more thing. You seem to have not noticed.
The page /blog is in both the sitemap URL of the sitemap-page.xml and sitemap-post.xml
But it’s not sowing the post URL.
Please look through the issue carefully instead of pasting preformatted texts.
Sensitive data includes my site URL also.
Hello,
If you don’t see your post is likely because your sitemap is being cached so the steps illustrated by my colleague are correct and you should follow them.
The reason you see the same page on both sitemaps is that on the post sitemap that is there as the archive page for such post types and in the pages sitemap it’s there because it’s an actual page.
After following the steps from my colleague please revert back to us if the page is still not showing.
Looking forward to hearing back from you.
Already done and then what she’s instructed. Nothing worked.
I did .htaccess editing
I added the code in the cache plugin for not caching the rank math, nothing worked.
I use hyper cache.
And also, tell me how can I resolve my blog page issue which is appearing in both of the sitemaps.
I have done mentioned by tammy but nothing happend.
Hello,
We might need to check this one over your admin settings and see why a blog post won’t be included in your sitemap.
Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
I do not have any issue with sharing the credentials with you guys. It should fix the sitemap.
Also, I am working on self-managed hosting and I do not use server cache. It is turned off because it works o Nginx which I do not like. I assure you my hosting server is not caching the sitemap.
Alternatively, check the cache plugin I have used with WordPress. Its name is hyper cache.
I have turned off login security so you can log in, could you please do it asap so I can turn the security back on?