[Bb-trac] [bbPress] #991: rewrite-rules.php needs a few more

bbPress bb-trac at lists.bbpress.org
Fri Nov 7 21:22:17 GMT 2008


#991: rewrite-rules.php needs a few more
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |       Owner:                    
     Type:  defect    |      Status:  new               
 Priority:  normal    |   Milestone:  1.0-beta & XML-RPC
Component:  Back-end  |     Version:  0.9.0.2           
 Severity:  normal    |    Keywords:                    
----------------------+-----------------------------------------------------
 These rules enhance behavior a bit:

 {{{
 RewriteRule ^topic/?$ /forums/ [R=302,L,QSA]
 RewriteRule ^forum/?$ /forums/ [R=302,L,QSA]
 RewriteRule ^page/([0-9]+)/?$ /forums/?page=$1 [L,QSA]
 }}}

 (where /forums/ has to be the variable of course)

 First two fix empty topic/forum, last one enables pagination for front
 page (via plugin support until it's done internally, see my topics-per-
 page plugin).

-- 
Ticket URL: <http://trac.bbpress.org/ticket/991>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list