• Resolved ACEkin

    (@acekin)


    I have been trying to find the culprit of a problem I started having in the last few weeks. Clicking on the “Reply” button would not create a reply window but adds the comment ID to the end of the URL. With a tip from a moderator on this forum:

    https://www.ads-software.com/support/topic/cannot-reply-to-comments/#post-15868914

    I narrowed it down to RankMath being the cause of the problem. When it is deactivated, replying to comments becomes possible again.

    Although there is a link for the page I need help with, this problem can be replicated on any post that has a comment.

    Your expedient attention to this matter will be much appreciated.

    Cemal

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter ACEkin

    (@acekin)

    For your information, I switched to Yoast and found that adding the following line to the theme functions file fixes the same problem for that plugin but not for RankMath. If I cannot get a fix for RankMath, I may as well stay with Yoast.

    add_filter( ‘wpseo_remove_reply_to_com’, ‘__return_false’ );

    Cemal

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @acekin,

    Thank you for contacting the support, and sorry for the inconvenience caused.

    Can you please try adding this filter to your site and see if that resolves the issue:

    add_filter( 'rank_math/frontend/remove_reply_to_com', '__return_false');
    

    Here is a guide to help you with adding the filter: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how that goes. Looking forward to helping you.

    Thread Starter ACEkin

    (@acekin)

    Yes, it does. The reply to comment function returned. One suggestion, you may instruct the user to visit the forum thread and copy the code snippet from there. I first copied it from the e-mail message I received and it threw an error

    Parse error &

    I visited the forum and noticed that the code line looked different, and copied it from there. Then it worked properly.

    Will there be a more permanent fix for this problem?

    Cemal

    • This reply was modified 2 years, 4 months ago by ACEkin.
    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @acekin,

    We’re glad that helped.

    As the emails are triggered by www.ads-software.com itself, we will try to include a note in the reply itself for such cases.

    Rank Math by default removes the ?replytocom from the comment reply link since most of the sites show the reply form right after the comment. However, if this doesn’t work for some reason or the structure is different, the filter we shared can be used.

    With that said, we will notify our dev team about this and we will see what we can do about it in the future.

    Please feel free to open a new support topic if you require assistance with anything else.

    Thank you.

    Thread Starter ACEkin

    (@acekin)

    Thank you. I have been using RankMath for about8-9 months, maybe longer. I have not run into this problem until after Jun3, 2022. I think I may stop using an SEO plugin.

    Thank you

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @acekin,

    We’re sorry to hear that.

    Depending upon the structure of the website and the plugins/theme used, different behaviors can be seen for the same operation.

    However, the filter we shared was created to tackle these behaviors to ensure that everything runs smoothly with the comments.

    Though we tested but were unable to replicate the issue, we will check this further and see what we can do about this in future updates of the plugin.

    Rank Math helps you optimise the content and automates many tasks, and removes the need to install many individual plugins like Redirections, 404 Monitor, Analytics, etc.

    We suggest you continue using the plugin to keep your website SEO optimized.

    If there’s anything else that we can assist you with, please let us know.

    Thread Starter ACEkin

    (@acekin)

    Thank you for the follow-up. If you like to experience and explore the problem on my site, I will be glad to create an admin user and share it through the secure channels you will provide. Let me know if you are interested in seeing the setup where the problem occurs. This problem occurs if I use RankMath or Yoast, but not with The SEO Framework.

    Cemal

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @acekin,

    We don’t need to take a look at the settings. As mentioned before, most of the sites show the reply form right after the comment, so our plugin removes the ?replytocom from the comment link.

    The filter we have shared is to change that behavior and the comments will work fine after adding that.

    Please don’t hesitate to get in touch in case you need any other assistance.

    Thread Starter ACEkin

    (@acekin)

    I have found a way to give my site a kind of Heimlich Maneuver which fixed the problem. Before, I had disabled my caching plugin and deleted all local cache which did not help. This time:

    1. I deleted my local cache but false deleted the entire cache on Cloudflare and set it to WordPress defaults
    2. I activated the cache plugin and let it configure Cloudflare the way it needed to
    3. Disabled the filter you provided in the Code Snippets plugin
    4. I replied to a comment to test, and it appeared directly below the comment

    I should have tried this earlier but I did not think the cache on Cloudflare might be the problem. But it was. I have a hunch about what may have created the faulty cache on Cloudflare but I will not speculate here.

    I am all set, everything is back to normal. Thank you for your help.

    Cemal

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @acekin

    Glad that’s sorted, and thank you for sharing the information with everyone.

    If it isn’t too much to ask for – would you mind leaving us a review here?
    https://www.ads-software.com/support/plugin/seo-by-rank-math/reviews/#new-post

    It only takes a couple of minutes but helps us tremendously.

    It would mean so much to us and would go a really long way.

    Thank you.??

    This is a very important discussion. I had this issue with reply comment before I found the solution here.
    Try to make things early

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘RankMath breaks replying to comments’ is closed to new replies.