[wp-trac] [WordPress Trac] #8948: permalink redirection is too liberal

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 15 07:30:40 UTC 2010


#8948: permalink redirection is too liberal
--------------------------+-------------------------------------------------
 Reporter:  mrmist        |       Owner:  markjaquith       
     Type:  defect (bug)  |      Status:  new               
 Priority:  normal        |   Milestone:  3.0               
Component:  Canonical     |     Version:  2.7               
 Severity:  normal        |    Keywords:  has-patch featured
--------------------------+-------------------------------------------------

Comment(by dd32):

 > /page1/ is treated as identical to / on 2.9 and 3.0.

 The WordPress paging system actually accepts /page/1/ and /page1 by
 design. The same goes for /page2 and /page/2

 The canonical system doesnt reconise /page2 as a paging link however. 2
 options are available for this situation:
  * Remove Support for /page(\d+)/? whilst retaining /page/(\d+)/?
  * Fix canonical to support the /page(\d+)/? links (An additional 2
 {{{?}}}'s)

 'page(\d+)' are not valid slugs in WordPress when using pretty permalinks,
 its not possible to separate the requests.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8948#comment:49>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list