Rank Math TOC block not working

#851177
  • Resolved Val De Marr
    Rank Math free

    Hello,
    Rank Math TOC block does not render any TOC.
    It appears in the blocks pane. I can add it to the page and it appears as a frame saying “Table of Contents. Add Heading blocks…”. It even appears in block editor.

    However the block does not render anything, neither in edit mode nor in preview or published mode.
    There is no block title to edit.

    Tried with multiple pages.
    The pages have mumultiple headings in them before adding TOC.
    Adding more headings after TOC placement does not render anything either.
    Using only default headings, no custom headings plugins.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    We apologize for the issue you are facing with the Rank Math Table of Contents (TOC) block not rendering correctly. It sounds like you’ve already taken several steps to troubleshoot this issue.

    Here are a few things you can check:

    1. Headings Presence: Ensure that your content contains valid heading blocks (H2, H3, etc.) before the TOC block. The TOC block requires headings to generate its content. If there are no headings, it will display the message "Add Heading blocks to this page to generate the Table of Contents."

    2. Exclude Headings Setting: Check if any headings have been excluded from appearing in the TOC. You can do this by clicking on the TOC block, navigating to Settings, and then checking under Block → Settings → EXCLUDE HEADINGS to ensure no headings are excluded.
      Exclude Headings in TOC settings

    3. Bug with Higher-Level Headings: There is a known bug where higher-level headings may disappear if a lower-level heading is added before it. If this is the case, you might want to rearrange your headings temporarily to see if that resolves the issue.

    4. Schema Module: Make sure that the Schema module is enabled in Rank Math, as it is required for the TOC block to function properly. You can check this in Rank Math SEO → General Settings → Blocks.
      Customize TOC Block settings

    If you’ve checked all these points and the issue persists, we recommend replying to this ticket so a human agent from the Rank Math Support team can assist you further.

    Thank you for bringing this concern to our attention! We hope to resolve it for you soon.

    Sources:
    How to Add Rank Math’s Table of Contents Block » Rank Math

    Found the solution thanks to automatic reply.

    Hello,

    We are super happy that your issue has been addressed.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.