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

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 27 07:12:52 UTC 2011


#16687: %postname% permalinks should not trigger verbose rewrite rules
-----------------------------+----------------------------
 Reporter:  nacin            |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Future Release
Component:  Rewrite Rules    |    Version:
 Severity:  normal           |   Keywords:
-----------------------------+----------------------------
 The %postname% permalink structure is very common. As it currently stands,
 this introduces a performance penalty with large numbers of posts.

 I think we can avoid verbose rules here by mapping `(.+?)` not to
 `pagename=`, but to a new, temporary query variable that would trigger a
 query by post_name for both pages and posts.

 We can recommend against it all we want, but this structure isn't going
 away on the internet. Fighting it only causes perception issues relating
 to scaling. We should instead embrace it and make at least this structure
 scalable.

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


More information about the wp-trac mailing list