Comments hook not working

  • Hello RM team,
    your hook add_filter( ‘rank_math/frontend/remove_reply_to_com’, ‘__return_false’); is no longer working. I’ve tested it on 2 different websites and it’s still removing the “?replytocom” parameter.

    Can you check that please?

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

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

    Can you please clear your website cache and check again?

    If that won’t work, we might need to take a closer look at the settings. 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.
    Sensitive Data Section

    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:

    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):

    We really look forward to helping you.

    Hello Jeremy,
    I tested Rank Math with just basic WP theme (2021) and it was working even without URL parameter. So I was digging about that and I’ve found that WP core includes comment-reply.min.js which moves the form directly below the reply and without URL parameter (which is maybe better solution).

    So enqueing this file resolves the problem:

    // Threaded comment reply script.
    if ( is_singular() && comments_open() && get_option( ‘thread_comments’ ) ) {
    wp_enqueue_script( ‘comment-reply’ );


    We are super happy that you have resolved the issue.

    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.

    Thank you.

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

You must be logged in to reply to this ticket.