Replies: 0
Since the last WP update, when a person commented on a post with more than one page of comments, they would be redirected to the oldest page of comments, back in 2012. The new comment would end up on the latest page, but the person submitting the comment would end up on the old page.
A re-install of the latest WP did not help, and disabling all the plugins did not help. Temporarily switching to the latest version of Twenty Sixteen did not help. We restored the site to a backup from just before the latest WP update, and the comments worked. Then WP was updated again, and it went back to not working.
My hosting service said it wasn’t caused by anything they did, so I hired a developer to fix it. Now the reader stays on the right page, which is nice, but in the dashboard, on the comment page, the link to every comment takes me to 2012. This is a link to one of the newer comments. The link takes you to the oldest comment page for that post:
http://www.ultimatepapermache.com/daily-sculptors-group-page/comment-page-1#comment-139978
Also, my Subscribe to Comments Reloaded plugin sends the 2012 link to people after someone replies to their comment, but I don’t think it’s a plugin issue. The SCR plugin is just reading what the system is telling it, and the system is wrong.
When the expert fixed the redirect problem, this is what they added to my theme’s functions.php file (The theme developer didn’t think it was a theme issue):
add_filter('comment_post_redirect', 'redirect_after_comment');
function redirect_after_comment($location) {
return $_SERVER["HTTP_REFERER"];
}
I really want the system to know where the comments are, and I do want readers to be able to follow a link to their replies. The expert I hired said this is a completely separate issue from the first one, so I’ll have to hire them again for the ‘new’ problem. I’m starting to think they may just make things worse. Does anyone have any suggestions for fixing this?