Rankmath and the "Table of contents " recommendation

  • In the Content Readability section, users are recommended to install a Table of Contents plugin.

    Even when the average wordpress user will always prefer the plugin option, this can be achieved very easily without one:

    <h2>Table of Contents</h2>
    – Title1
    – Title2
    – Title3
    – Title4

    <h2>T1</h2>
    <h2>T2</h2>
    <h2>T3</h2>
    <h2>T4</h2>

    Complete explanation / guide here:

    How to create a table of contents in WordPress without using plugins

    But it doesn’t mean that i am not using a table of contents. Rankmath won´t detect this “workaround” or consider it as valid (good) SEO practice.

    So, the “You don’t seem to be using a Table of Contents plugin” should become a question with a checkbox instead?
    Are you using a table of contents plugin? and a checkbox.

    And congratulations on a job extremely well done with the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Sergio,

    Thanks for getting in touch.

    We are aware of this shortcoming but unfortunately, there is currently no way of detecting table of content inside the post’s content. Detecting a preset plugin list is the only way we are able to do it currently.

    Appreciate the tip on making a checkbox available to do that. We will see what we can do about that.

    For now, you can use a filter to remove the test you do not want to see: https://rankmath.com/kb/filters-hooks-api-developer/

    Hope that helps and 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.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this ticket.