[wp-trac] [WordPress Trac] #28156: In date-containing permalink structures, /dddd/dd/comment-page-d/ urls don't work

WordPress Trac noreply at wordpress.org
Thu Jun 26 14:59:20 UTC 2025


#28156: In date-containing permalink structures, /dddd/dd/comment-page-d/ urls
don't work
-------------------------------------------------+-------------------------
 Reporter:  mboynes                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:
Component:  Permalinks                           |     Version:  3.9
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch dev-feedback needs-      |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------

Comment (by callumbw95):

 Hey @mboynes,
 Yes you are correct, my mistake there, I think I jumped the gun there a
 bit, as I can see the rewrite rule in the code now too. I have set up a
 fresh test site with the correct Day and Name permalink structure, and I
 have created a test post with multiple comments that go across multiple
 pages. However I am not seeing the issues you are having here with url's
 not working?
 I have the following url's and they are working as intended:
 - /2025/06/26/28156-test-page/comment-page-1/#comments
 - /2025/06/26/28156-test-page/comment-page-2/#comments
 - /2025/06/26/28156-test-page/comment-page-3/#comments

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.4.7
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.4.7)
 - Browser: Chrome 137.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty Five 1.2
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

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


More information about the wp-trac mailing list