[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:51:49 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 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.

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


More information about the wp-trac mailing list