Comment pages – wrong redirect
-
Hey there,
Navigate to Settings > Reading settings, in your WordPress. There you will find:
Break comments into pages with [number] top level comments per page and the [first/last] page displayed by defaultChange the ‘Last’ to ‘First’ and then see the next line which has:
Comments should be displayed with the [newer/older] comments at the top of each pageChange it to newer, and see if it works after that. 🙂
I have exactly the same problem since the upgrade to WordPress version 4.7. It takes you to the page with the oldest comments after posting. Also the links in the “Latest Comments” Widget are now wrong, they point to the page with the oldest comments.
@hardeepasrani Changing those settings did not help.
There must have been a code change with version 4.7 that messes up the comments. Rolling back to 4.6 cures the problem.
Thank you – I thought it was just me. I went back to 4.6 and the problem went away, but SiteGround automatically updates to the latest WP version, so the fix didn’t last long. And one of my pages has 76 pages of comments – if I set the system to display the first page, they’ll be back in 2012 from the start. I had to disable my Subscribe to Comments Reloaded plugin, due to the glitch.
Since I can’t find anyone else discussing this online, I assume it’s not happening to everyone. Could it really just be the two of us? But that would mean that the next WP version will have the same code that is causing the problem. I’m getting really frazzled, since the comments are such an important part of my site.
Although – you don’t happen to host your site on SiteGround, do you? I know it’s a long shot, but I thought I’d ask, just in case something in WP 4.7 is disagreeing with their code.
No, I am self-hosted on an IIS server. Let’s check if it is in cunjunction with any plugins, I have installed:
Akismet
Cloudflare
Disable Emojis
Disable Google Fonts
Disable Smart Quote
Link Manager
Official Statcounter Plugin
Subscribe to comments reloadedDo you have any of those?
BTW, I have now done a workaround which works for me. Go to
Settings > Discussion
Break comments into pages with 1 top level comments and the LAST page displayed by default
Comments should be displayd with the OLDER comments at the top of each page
This solution is ok for me as I have normally many answers to a comment, so I have all the answers and the original comment on one page.
Still, WordPress should fix the issue.
-
This reply was modified 9 years, 5 months ago by
sandradepalma.
Great idea about the plugins. The only plugins we have in common are Akismet and Subscribe to Comments Reloaded. I disabled the Subscribe to Comments plugin and it didn’t fix anything so that can’t be causing the problem. And I can’t disable Akismet, for the obvious reasons.
I’m glad you found a solution that works for you. I don’t think I can do that, though. The discussions between readers is really important, and they only know about the comments they can see. It isn’t a tech-savy crowd. I’ll ask SiteGround if they’ll let me use the older version of WP.
Surely we aren’t the only two people on the planet with this problem? Of course, most blogs don’t get enough comments for the pagination to ever be turned on. Maybe that’s why more people aren’t upset about it.
Some people complained about the “1 page per comment” solution, so I downgraded to 4.6.1.
It now works again.
I don’t think it is Akismet as hundreds of thousands of WordPress pages use it, so we would see more reactions.
I have now also upgraded another blog without the Subscribe to Comments Reloaded plugin. It has the same problem. So I don’t think it is Plugin related.
It must be an oversight in core WordPress 4.7.
I have to check if I can file somewhere a bug report because this is really annoying.
Just as an FYI, there is a known issue in 4.7 with comment permalinks which sounds like it might be related. That is being looked at and will likely be patched with 4.7.1. You can follow along at https://core.trac.wordpress.org/ticket/39280 if you want to watch the progress, or have additional details to provide on this.
-
This reply was modified 9 years, 5 months ago by
Marius L. J..
Thank you very much, that is exactly the problem I am having. I will comment in the bug as well.
-
This reply was modified 9 years, 5 months ago by
The topic ‘Comment pages – wrong redirect’ is closed to new replies.
(@wetcatbooks)
9 years, 5 months ago
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):
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?