Hello,
We apologize for the issue you are facing with your sitemap. It sounds like you’ve already taken some important steps to troubleshoot the problem. Here are a few additional suggestions that might help resolve the issue:
-
Check Sitemap Settings: Ensure that all post types and taxonomies you want to include in your sitemap are enabled. You can do this by navigating to Rank Math SEO β Sitemap Settings and checking the options for each type of post or taxonomy.
-
Flush Permalinks Again: Sometimes, it may help to flush permalinks multiple times. Go to Settings β Permalinks and click Save Changes again, even if you haven’t made any changes.
-
Check for Plugin Conflicts: Use the Health Check plugin to see if there are any conflicts with other plugins that might be affecting your sitemap.
-
Inspect robots.txt: Make sure that your robots.txt
file is not blocking the sitemap. You can check this by going to Rank Math SEO β General Settings β robots.txt.
-
Custom Canonicals: If you have set custom canonical URLs for your posts, they may not appear in the sitemap. Consider removing those custom canonicals to allow Rank Math to generate them automatically.
-
Clear Cache: Ensure that you clear your website cache after making these changes. You can refer to this article on how to clear cache in WordPress.
If you have tried all these steps and the issue persists, please reply to this ticket, and a human agent from the Rank Math Support team will take over and assist you further.
Thank you for bringing this concern to our attention!
This 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 use the following filter on your website and see if that works for you?
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Hereβs how you can add filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
If the issue persists, then 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/
Let us know how it goes. Looking forward to helping you.
Thank you.