[wp-trac] [WordPress Trac] #43544: Pages over 999 in archive return 404

WordPress Trac noreply at wordpress.org
Mon Mar 19 13:48:06 UTC 2018


#43544: Pages over 999 in archive return 404
-------------------------------+------------------------------
 Reporter:  catalinnita        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:  4.9.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by catalinnita):

 there is a conflict between 4 digits page numbers and year in permalinks.
 for example if you go here http://www.radiotimes.com/news/page/3832/ it
 goes to 404 because it considers 3832 to be an year and is no archive page
 for that year of course.

 could be this rule

 [([0-9]{4})/?$] => index.php?year=$matches[1]

 or a different one, I'm in the process of isolating it. I'll update the
 ticket when I'll find out.

 Thank you!

 Replying to [comment:1 soulseekah]:
 > Possibly related #7467 and #5305
 >
 > What is your permalink structure? What URL are you trying to access?

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


More information about the wp-trac mailing list