[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 3 $_rules = <<<EOF 4 # BEGIN bbPress 5 6 Options -MultiViews 7 8 <IfModule mod_rewrite.c> 9 RewriteEngine On 10 RewriteBase %PATH% 11 12 RewriteRule ^page/([0-9]+)/?$ %PATH%index.php?page=$1 [L,QSA] 13 RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ %PATH%forum.php?id=$1&page=$2 [L,QSA] 14 RewriteRule ^forum/([^/]+)/?$ %PATH%forum.php?id=$1 [L,QSA] 15 RewriteRule ^forum/?$ %PATH% [R=302,L,QSA] 16 RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ %PATH%topic.php?id=$1&page=$2 [L,QSA] 17 RewriteRule ^topic/([^/]+)/?$ %PATH%topic.php?id=$1 [L,QSA] 18 RewriteRule ^topic/?$ %PATH% [R=302,L,QSA] 19 RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ %PATH%tags.php?tag=$1&page=$2 [L,QSA] 20 RewriteRule ^tags/([^/]+)/?$ %PATH%tags.php?tag=$1 [L,QSA] 21 RewriteRule ^tags/?$ %PATH%tags.php [L,QSA] 22 RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ %PATH%profile.php?id=$1&page=$2 [L,QSA] 23 RewriteRule ^profile/([^/]+)/([^/]+)/?$ %PATH%profile.php?id=$1&tab=$2 [L,QSA] 24 RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ %PATH%profile.php?id=$1&tab=$2&page=$3 [L,QSA] 25 RewriteRule ^profile/([^/]+)/?$ %PATH%profile.php?id=$1 [L,QSA] 26 RewriteRule ^profile/?$ %PATH%profile.php [L,QSA] 27 RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ %PATH%view.php?view=$1&page=$2 [L,QSA] 28 RewriteRule ^view/([^/]+)/?$ %PATH%view.php?view=$1 [L,QSA] 29 RewriteRule ^rss/?$ %PATH%rss.php [L,QSA] 30 RewriteRule ^rss/topics/?$ %PATH%rss.php?topics=1 [L,QSA] 31 RewriteRule ^rss/forum/([^/]+)/?$ %PATH%rss.php?forum=$1 [L,QSA] 32 RewriteRule ^rss/forum/([^/]+)/topics/?$ %PATH%rss.php?forum=$1&topics=1 [L,QSA] 33 RewriteRule ^rss/topic/([^/]+)/?$ %PATH%rss.php?topic=$1 [L,QSA] 34 RewriteRule ^rss/tags/([^/]+)/?$ %PATH%rss.php?tag=$1 [L,QSA] 35 RewriteRule ^rss/tags/([^/]+)/topics/?$ %PATH%rss.php?tag=$1&topics=1 [L,QSA] 36 RewriteRule ^rss/profile/([^/]+)/?$ %PATH%rss.php?profile=$1 [L,QSA] 37 RewriteRule ^rss/view/([^/]+)/?$ %PATH%rss.php?view=$1 [L,QSA] 38 RewriteCond %{REQUEST_FILENAME} !-f 39 RewriteCond %{REQUEST_FILENAME} !-d 40 RewriteRule ^.*$ %PATH%index.php [L] 41 </IfModule> 42 43 # END bbPress 44 EOF; 45 46 $_rules = str_replace( '%PATH%', bb_get_option( 'path' ), $_rules );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Dec 7 01:01:35 2017 | Cross-referenced by PHPXref 0.7.1 |