Hello,
We apologize for the inconvenience you’re experiencing with the WPTB table in your sitemap. We understand the importance of having this feature work correctly.
To resolve this issue, you can try adding the following filter to your theme’s functions.php or rank-math.php file:
add_filter( 'rank_math/sitemap/enable_wptb_tables', '__return_true' );
This filter will enable the WPTB tables to be included in your sitemap. Once you’ve added this filter, please check if the WPTB tables are now included in your sitemap.
If you need further assistance, please feel free to reply to this ticket, and a human agent from the Rank Math Support team will be happy to help.
Thank you for bringing this to our attention.
Sources:
Remove Blank Lines From Sitemaps » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Thanks,
But how i can add it, its not in the WP panel, right?
Added, nothing changed yet, check the screenshot below:
https://prnt.sc/kSGpQ_sYwpww
Hello,
Apologies for the confusion, but the WPTB sitemap should be added to your main sitemap index:
https://fxbrokers.co.za/sitemap_index.xml
For initial troubleshooting, please follow the steps to flush the sitemap cache:
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. Disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on 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/
Also, please ensure that the posts inside that sitemap are indexable. Here are some of the common reasons why a URL is not included in the sitemap:
https://rankmath.com/kb/url-not-in-sitemap/
Let us know how this goes.
Hi
Done, but nothing changed in the link:
https://fxbrokers.co.za/sitemap_index.xml
Hello,
In this case, we might need to take a closer look at the settings to investigate.
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,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.