[wp-trac] [WordPress Trac] #11884: mod_rewrite optimization

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 26 00:48:03 UTC 2011


#11884: mod_rewrite optimization
-------------------------------+-----------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  enhancement        |      Status:  reopened
 Priority:  normal             |   Milestone:
Component:  Optimization       |     Version:  3.0
 Severity:  normal             |  Resolution:
 Keywords:  close 2nd-opinion  |
-------------------------------+-----------------------

Comment (by g1smd):

 Hang on, does WP_rewrite add customised mod_rewrite rules to the .htaccess
 file or does it sit behind index.php examining the parts of the URL that
 was requested? I am not 100% sure what all these different modules do.

 " and in the end gets the request to a custom template file "

 If index.php is handling the apache request, I assume that the custom
 template is "included" into the index.php file in some way?

 Or does Apache use a mod_rewrite rewrite to send the external request
 directly to that template file?


 "processes the request using custom rewrite rules via WP_Rewrite"

 OK. Which one is it?  Is it "request is handled by index.php" or is it
 "custom rewrite rules invoke some other file to handle the request"?

 These "custom rewrite rules via WP_Rewrite", they are rules in the
 .htaccess file are they, or are they some other sort of functionality?

 If these are "custom rules in the .htaccess file", it is far too late for
 these to be invoked once index.php is handling the request.

 I hope you can clarify this. Sorry, the language and terminology is not
 straightforward here.

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


More information about the wp-trac mailing list