[wp-trac] [WordPress Trac] #51189: comments_pagination_base missing in get_comment_reply_link() function

WordPress Trac noreply at wordpress.org
Mon Jun 7 14:46:59 UTC 2021


#51189: comments_pagination_base missing in get_comment_reply_link() function
-------------------------------------------------+-------------------------
 Reporter:  MrPauloEn                            |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.8
Component:  Comments                             |     Version:  5.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots good-first-bug has-  |     Focuses:
  patch has-testing-info commit                  |  accessibility
-------------------------------------------------+-------------------------

Comment (by engahmeds3ed):

 I can confirm the issue before applying the patch and confirm also that
 the patch solved this issue.

 But I have a question here:

 Do we need to change this link also for the first page or leave the first
 page reply link to go to the post itself?

 as current code will make the link for first page go to different url but
 with the same content, is it bad for SEO?

 For the post page (first comments page)

 before patch
 http://localhost:8889/hello-world/?replytocom=6#respond

 after patch
 http://localhost:8889/hello-world/comment-page-3/?replytocom=6#respond

 and I think before patch, first page link is the correct one, what do you
 think?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51189#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list