Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Simply doesn’t work

Ok….try this as it must be in main .htaccess and not seperate.

get rid of the .htaccess in bbpress directory and try this in .htaccess for wordpress.

# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

# END WordPress

RewriteBase /bbpress/

RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /bbpress/forum.php?id=$1&page=$2 [L,QSA]

RewriteRule ^forum/([0-9]+)$ /bbpress/forum.php?id=$1 [L,QSA]

RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /bbpress/topic.php?id=$1&page=$2 [L,QSA]

RewriteRule ^topic/([0-9]+)$ /bbpress/topic.php?id=$1 [L,QSA]

RewriteRule ^tags/(.+)/page/([0-9]+)$ /bbpress/tags.php?tag=$1&page=$2 [L,QSA]

RewriteRule ^tags/(.+)/?$ /bbpress/tags.php?tag=$1 [L,QSA]

RewriteRule ^tags/?$ /bbpress/tags.php [L,QSA]

RewriteRule ^profile/([0-9]+)/page/([0-9]+)$ /bbpress/profile.php?id=$1&page=$2 [L,QSA]

RewriteRule ^profile/([0-9]+)/([a-z]+)$ /bbpress/profile.php?id=$1&tab=$2 [L,QSA]

RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /bbpress/profile.php?id=$1&tab=$2&page=$3 [L,QSA]

RewriteRule ^profile/([0-9]+)$ /bbpress/profile.php?id=$1 [L,QSA]

RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /bbpress/view.php?view=$1&page=$2 [L,QSA]

RewriteRule ^view/([a-z-]+)$ /bbpress/view.php?view=$1 [L,QSA]

RewriteRule ^rss/$ /bbpress/rss.php [L,QSA]

RewriteRule ^rss/forum/([0-9]+)$ /bbpress/rss.php?forum=$1 [L,QSA]

RewriteRule ^rss/topic/([0-9]+)$ /bbpress/rss.php?topic=$1 [L,QSA]

RewriteRule ^rss/tags/([a-z]+)$ /bbpress/rss.php?tag=$1 [L,QSA]

RewriteRule ^rss/profile/([0-9]+)$ /bbpress/rss.php?profile=$1 [L,QSA]

</IfModule>

Trent

Skip to toolbar