-
Hey team,
I have make 1 CPT. This CPT sitemap not include in my sitemap.
I want to add this sitemap .
-
Hello,
Thank you for contacting us.
Assuming you’ve already enabled the sitemap from Rank Math > Sitemap Settings > [CPT_Name], could you please share the CPT name along with the sitemap/website URL so that we can have a closer look at the issue?
Also, please follow the below steps and see if that fixes the issue:
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/Let us know how that goes.
Thank you.
CPT NAME – money
Website – https://SagaCrush.com
Hello,
I checked and was able to replicate that the sitemap is not added.
Could you confirm if you followed the steps mentioned in my previous reply? If not, then please follow them and see if that fixes the issue.
If the issue persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins 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 have added login for some time
I want to add sitemap for “money” and “makestory”
Hello,
I logged in to your website, saved the sitemap and permalinks settings without changing anything.
The sitemap is now updated and the CPT is added in the sitemap.
Please clear the browser cache and check the sitemap.
Let us know if you have any questions.
We are here to assist you.
Thanks for…
Can you tell me why this issue occurred ?
Thank…
Great support Rankmath team…
Hello,
This usually happens if the sitemaps are cached along with the other page on your website.
If you face this issue again, exclude the sitemap from caching and clear the cache:
https://rankmath.com/kb/exclude-sitemaps-from-caching/Hope that helps.
Thank you.
Again occurred this problem
Hello,
It seems like you’ve removed the logins from the sensitive data section.
However, please add the below filter in your theme’s functions.php file to avoid any possible caching from the plugin:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');You can also follow this guide to add the filter:
https://rankmath.com/kb/wordpress-hooks-actions-filters/#functions-php-fileOnce done, clear your website and browser cache and follow the steps I mentioned previously to see if the issue gets fixed: https://support.rankmath.com/ticket/cpt-not-include-in-sitemap/?view=all#post-311589
If the issue persists, please get in touch with your web host to see if they’re caching the sitemaps from their end?
Please let us know how that goes.
Thank you.
It’s not working please solve this
Hello,
Please share the WordPress and FTP logins as suggested in one of my previous replies so that we can investigate further:
https://support.rankmath.com/ticket/cpt-not-include-in-sitemap/?view=all#post-311591Looking forward to helping you.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
You must be logged in to reply to this ticket.