[wp-trac] [WordPress Trac] #47207: Specific custom permalink 404 on archive page

WordPress Trac noreply at wordpress.org
Fri May 10 02:10:52 UTC 2019


#47207: Specific custom permalink 404 on archive page
--------------------------+------------------------------
 Reporter:  briandd       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Permalinks    |     Version:  5.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by briandd):

 I have tried with 4.1 and the bug was already there

 If we put %day% before %monthnum% and %year% it will always break

 But weird permalinks like

 /%postname%/%day%/
 /%postname%/%day%/%monthnum%/
 /%postname%/%day%/%year%/
 /%day%/%monthnum%/%postname%/
 /%day%/%year%/%postname%/
 /%day%/%monthnum%/%monthnum%/%postname%/

 will give working archives

 even /%day%/%year%/%monthnum%/%postname%/

 Who's against D/M/Y raise hands

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


More information about the wp-trac mailing list