Using Custom Shortcodes

  • I am using shortcodes on my website to generate html code for titles, images, links and other elements. All my articles are edited with the “Classic WordPress Editor”.

    When I optimize the SEO for an article, RankMath SEO plugin does not find any keywords behind <h2> tags, or tags which are generated by some of my shortcodes.

    I am wondering on which code the analyzer is running. Is it looking for those tags on the text that I edit on the editor, or on the html code that is generated in the end?

    Do I need to make any adjustment to use my custom shortcodes and have a correct SEO analysis with RankMath?

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

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Rank Math will currently only analyse HTML content on the page and thus the tool might not be able to detect the data on the backend before the shortcode is executed.

    You can however copy the frontend code to a new post on the backend to test the content analysis.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Rank Math will currently only analyse HTML content on the page and thus the tool might not be able to detect the data on the backend before the shortcode is executed.

    You can however copy the frontend code to a new post on the backend to test the content analysis.

    Looking forward to helping you. Thank 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.

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

The ticket ‘Using Custom Shortcodes’ is closed to new replies.