Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbPress AND Lighttpd URL rewrite rules


winmutt
Member

@winmutt

This one actually works. bbpress in /forums/

“^/forums/forum/([^/]+)/page/([0-9]+)/?$” => “/forums/forum.php?id=$1&page=$2”,

“^/forums/forum/([^/]+)/?$” => “/forums/forum.php?id=$1”,

“^/forums/topic/([^/]+)/page/([0-9]+)/?$” => “/forums/topic.php?id=$1&page=$2”,

“^/forums/topic/([^/]+)/?$” => “/forums/topic.php?id=$1”,

“^/forums/tags/([^/]+)/page/([0-9]+)/?$” => “/forums/tags.php?tag=$1&page=$2”,

“^/forums/tags/([^/]+)/?$” => “/forums/tags.php?tag=$1”,

“^/forums/tags/?$” => “/forums/tags.php”,

“^/forums/profile/([^/]+)/page/([0-9]+)/?$” => “/forums/profile.php?id=$1&page=$2”,

“^/forums/profile/([^/]+)/([^/]+)/?$” => “/forums/profile.php?id=$1&tab=$2”,

“^/forums/profile/([^/]+)/([^/]+)/page/([0-9]+)/?$” => “/forums/profile.php?id=$1&tab=$2&page=$3”,

“^/forums/profile/([^/]+)/([^/]+)/favorites/?$” => “/forums/profile.php?id=$1&tab=favorites”,

“^/forums/profile/([^/]+)/?$” => “/forums/profile.php?id=$1”,

“^/forums/view/([^/]+)/page/([0-9]+)/?$” => “/forums/view.php?view=$1&page=$2”,

“^/forums/view/([^/]+)/?$” => “/forums/view.php?view=$1”,

“^/forums/rss/?$” => “/forums/rss.php”,

“^/forums/rss/forums/forum/([^/]+)/?$” => “/forums/rss.php?forum=$1”,

“^/forums/rss/forums/topic/([^/]+)/?$” => “/forums/rss.php?topic=$1”,

“^/forums/rss/forums/tags/([^/]+)/?$” => “/forums/rss.php?tag=$1”,

“^/forums/rss/forums/profile/([^/]+)/?$” => “/forums/rss.php?profile=$1”

Skip to toolbar