[wp-trac] [WordPress Trac] #12136: Improve MS rewrite rules

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 5 08:58:23 UTC 2010


#12136: Improve MS rewrite rules
---------------------------+------------------------------------------------
 Reporter:  nacin          |       Owner:  wpmuguru 
     Type:  defect (bug)   |      Status:  new      
 Priority:  normal         |   Milestone:  3.0      
Component:  Rewrite Rules  |     Version:           
 Severity:  normal         |    Keywords:  multisite
---------------------------+------------------------------------------------
 I've been looking through the [source:/trunk/wp-
 admin/includes/htaccess.ms at 12962 MS rewrite rules], trying to improve
 performance where possible and possibly coming up with a rule that
 prevents the need to hard-code wp-content (or, eventually, a custom
 content directory).

 Patch attached what I've simplified so far, which is to reduce the
 uploaded files and wp-admin trailing slash rules each to a single line,
 and modify slug handling a bit. Tested on a production subdirectory
 install.

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


More information about the wp-trac mailing list