• Resolved sidsidsid16

    (@sidsidsid16)


    I am running WordPress 5.4.1 (latest) with the Yoast SEO plugin 14.0.4 (latest) and the plugin is not letting me reply to comments from the front-end of my website. I am still able to reply to comments from the WordPress dashboard form the comments panel.

    With the plugin enabled, when pressing the reply to comment button, this is added to the end of the URL: /#comment-26.

    With the plugin disabled, when pressing the reply to comment button, this is added to the end of the URL: /?replytocom=26#respond. This is what it’s supposed to be when replying to comments, this is when it actually works.

    Disabling Yoast SEO isn’t a long term solution for me, I need to be able to use Yoast SEO.

    How do I fix this?

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @sidsidsid16,

    Thanks for your comment.

    Yoast SEO by default removes ?replytocom variables from URLs (more info about this feature on this link). This can be reversed by adding the following filter to your theme’s functions.php file: add_filter( 'wpseo_remove_reply_to_com', '__return_false' );

    Unfortunately, there’s a bug in the latest version of the plugin Yoast SEO v14.0.4 that breaks this filter. This is a known issue by our developers and it will be fixed in the next plugin release.

    We apologize for any inconvenience this has caused you.

    Thread Starter sidsidsid16

    (@sidsidsid16)

    Thank you for the prompt response. Adding this line of code fixes the issue.

    Although the comments work as expected, the ?replytocom variable from the URL isn’t there, is this the intended behaviour?

    Hi @sidsidsid16,

    That’s expected due to the aforementioned bug. Yoast SEO v14.1 will include a fix for this issue and you’ll see the ?replytocom variable again in your URLs.

    Thread Starter sidsidsid16

    (@sidsidsid16)

    Yes, I understand, but with the code added to the functions.php file, the ?replytocom still doesn’t show at the end of the URL, but the comment replies are working. Is this intended?

    Plugin Support devnihil

    (@devnihil)

    @sidsidsid16 We have released version 14.1 of the plugin today. Can you please confirm whether updating to the newest release of Yoast SEO (version 14.1) resolves the issue with replytocom ? You can learn more about updating here: https://kb.yoast.com/kb/how-can-i-update-my-free-plugin/

    Thread Starter sidsidsid16

    (@sidsidsid16)

    I have updated to v14.1 and have removed the php code from the functions.php file: add_filter( 'wpseo_remove_reply_to_com', '__return_false' );

    Comments replies are now working. However, I am still not seeing the replytocom? variable still the end of the URL.

    Is this intended behaviour?

    • This reply was modified 4 years, 9 months ago by sidsidsid16.
    Plugin Support Michael Ti?a

    (@mikes41720)

    @sidsidsid16 yes, this is intended behavior. Since you’ve already updated to v14.1 of Yoast SEO, could you please try to add the filter again to your functions.php file and then check and verify if the ?replytocom variable shows in your URLS.

    Thread Starter sidsidsid16

    (@sidsidsid16)

    Adding the filter and removing the filter doesn’t make a difference (replyto flag not showing in URL, but is on the reply button hyperlink). However, replying to comments are now working.

    • This reply was modified 4 years, 9 months ago by sidsidsid16.
    Plugin Support Michael Ti?a

    (@mikes41720)

    @sidsidsid16 when the filter is applied, the ?replytocom variable does appear when hovering over the reply button (e.g. /?replytocom=1360#respond), and when the filter is removed, the ?replytocom variable is stripped when hovering over the reply button (e.g. /#comment-1360) so it is working as expected. We’re glad to hear that replying to comments are now working again with the filter applied.

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue. Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘This Plugin Breaks The Reply To Comment Feature Of My Website’ is closed to new replies.