Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.
The TOC converter tool only converts the native Table of Contents from Yoast/AIOSEO:
https://rankmath.com/kb/table-of-contents-block/#convert-toc-block-yoast-aiseo
However, we would like to investigate this first on your staging site and check for a workaround for them to be converted automatically.
Please edit the first post on this ticket and include your staging 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.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for your patience.
We have already forwarded this to our development team for further investigation. We’ll get back to you shortly for an update or if we have a workaround as well.
We would really appreciate your kind patience regarding this matter.
Meanwhile, please don’t hesitate to contact us anytime if you have other questions to assist you further.
Looking forward to helping you.
Hello,
Our team is already investigating the issue, but the FTP logins are not working at the moment.
Could you please check and update the FTP credentials in the sensitive data section?
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hi, I’ve updated FTP details – they should be working now.
Hello,
Thank you for your patience.
We have heard back from our development team.
In our Yoast migrator code file: seo-by-rank-math\includes\modules\database-tools\class-yoast-blocks.php
, the migratory looks for the block $blocks['yoast-seo/table-of-contents']
and replaces its content with our TOC block format.
Since you have wrapped the Yoast ToC block with the Accordion (Bespoke) block ($blocks['genesis-custom-blocks/accordion-bespoke']
), our plugin will surely not be able to convert the block.
We then tried manually tweaking the code, to find $blocks['genesis-custom-blocks/accordion-bespoke']
instead of $blocks['yoast-seo/table-of-contents']
but it still won’t work because of the difference of the format.
Unfortunately, this is something our developers can’t put more time into as this situation doesn’t happen often.
We would suggest converting the Yoast ToC block to a native block first before running the block conversion in Rank Math.
Hope that helps and please do not hesitate to let us know if you need my assistance with anything else.
Hi,
Thanks for your reply. Unfortunately this process would take too long and means I probably will stick with Yoast, since there are over 600 posts with the embedded Toc.
Thanks again for trying.
Olly
Hello,
Sure, we completely understand that this would be very time-consuming to switch all the posts to the Rank Math TOC block.
We appreciate your interest in our plugin.
Thank you.
Hi Miguel,
I understand that it might take some custom tweeking to get this block conversion process to work.
I’m very eager to swap to RankMath and will be purchasing the Pro version.
Would you be able to look further into this if I paid for premium upfront?
Regards,
Olly
Hello,
This kind of custom tweaking falls out of the scope of our support. We really appreciate your interest in our plugin, but we won’t be able to convert all the blocks from you even if you upgrade to PRO.
Please do not hesitate to let us know if you need our assistance with anything else.
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.