[wp-trac] Re: [WordPress Trac] #7450: If Pretty Permalinks on, enforce /search/ URL

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 2 00:36:50 GMT 2008


#7450: If Pretty Permalinks on, enforce /search/ URL
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |        Owner:  anonymous
     Type:  enhancement   |       Status:  new      
 Priority:  lowest        |    Milestone:  2.9      
Component:  General       |      Version:  2.6      
 Severity:  trivial       |   Resolution:           
 Keywords:  needs-patch   |  
--------------------------+-------------------------------------------------
Comment (by DD32):

 > and thus cause every search to actually happen twice

 Not if you catch it early enough before it queries anything..

 > Because you can't build an HTTP form that makes /search/foobar/ GET
 requests.
 Thats a good point however, A small oneline of JS can be used to achieve
 that though. A extra page request per search isnt that much of a
 performance hit IMO, just as long as the redirect functions hook early
 enough.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7450#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list