[Bb-trac] Re: [bbPress] #882: Create proper front-controller based on mod_rewrite

bbPress bb-trac at lists.bbpress.org
Wed May 28 20:04:02 GMT 2008


#882: Create proper front-controller based on mod_rewrite
-------------------------+--------------------------------------------------
 Reporter:  sambauers    |        Owner:  sambauers         
     Type:  enhancement  |       Status:  new               
 Priority:  normal       |    Milestone:  1.0-beta & XML-RPC
Component:  Back-end     |      Version:  1.0-alpha (trunk) 
 Severity:  normal       |   Resolution:                    
 Keywords:  mod_rewrite  |  
-------------------------+--------------------------------------------------
Comment (by mdawaffe):

 I managed to dig up some functions I wrote a long time ago that turn a
 URLs like

  * !http://example.com/forum/my-great-forum/
  * !http://example.com/forum/my-great-forum/tag/blue/
  * !http://example.com/tag/blue/forum/my-great-forum/

 into something BB_Query can understand.  It also redirects those last two
 requests to the same place. (I think I decided forums had greater
 "priority" than tags and so the 3rd URL was redirected to the 2nd.)

 I don't know if we should use pieces from this code.  I'm just putting it
 out there as one idea/example.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/882#comment:4>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list