Feature suggestion – remove url field from comments

#29050
  • Resolved Ben
    Rank Math pro

    Hello, I’ve transferred some of my sites across to RM from SEOPress Pro. The features are almost all the same/there, but there is one that I couldn’t see, if it already exists. SEOPress Pro has an option that lets you remove the url field from the comment form to reduce the amount of spam. It works pretty well.

    If it doesn’t exist, could it be added?

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    This feature is actually available in the plugin. You can enable it by adding the following filter on your theme’s functions.php file:

    /**
     * Filter: 'rank_math_remove_reply_to_com' - Allow or disable the Rank Math feature that removes <code>?replytocom</code> 
     * query parameters from URLs.
     * @param bool $return True to remove, false not to remove.
     */
    add_filter( 'rank_math/frontend/remove_reply_to_com', '__return_true');

    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 1 replies (of 1 total)

The ticket ‘Feature suggestion – remove url field from comments’ is closed to new replies.