[wp-trac] [WordPress Trac] #16687: %postname% permalinks should not trigger verbose rewrite rules

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 3 19:57:01 UTC 2011


#16687: %postname% permalinks should not trigger verbose rewrite rules
----------------------------+------------------
 Reporter:  nacin           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.3
Component:  Rewrite Rules   |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-testing   |
----------------------------+------------------

Comment (by Otto42):

 Replying to [comment:57 rockstyle]:
 > So obviously '''/%postname%/''' gets improved. What about
 '''/%category%/%postname%/'''? You could easily detect if first segment is
 category and if yes, look for entry, if not check page.

 The patch that has already been committed accounts for *all* cases. Not
 just the postname case.

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


More information about the wp-trac mailing list