[wp-trac] [WordPress Trac] #18852: Nginx rewrite rules

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 3 21:55:46 UTC 2011


#18852: Nginx rewrite rules
---------------------------+------------------------------
 Reporter:  johnbillion    |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:  3.3
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => has-patch


Comment:

 First pass at a patch to see where it gets us.

 `got_url_rewrite()` is a new function which is a wrapper for detecting if
 we've got any method enabled for URL rewrites (mod_rewrite, IIS7 with
 permalinks, or Nginx).

 The suggested rewrite rules are what I'm running on a couple of sites and
 what seems to be the most popular form of rewrites for WordPress on Nginx.

 Patch also introduces a new `$is_nginx` global.

 Thoughts, suggestions & feedback welcome.

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


More information about the wp-trac mailing list