Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: wpmu/bbpress logins work, forums don’t!

I have .htaccess in my community directory for permalinks that says:

<ifmodule mod_rewrite.c>

RewriteEngine On

RewriteBase /community/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

</ifmodule>

I have .htaccess in my root that says:

RewriteEngine On

RewriteBase /

#uploaded files

RewriteRule ^(.*/)?files/$ index.php [L]

RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]

RewriteCond %{REQUEST_FILENAME} -d

RewriteRule . – [L]

RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]

RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]

RewriteRule . index.php [L]

and .htaccess.dist in root that says

RewriteEngine On

RewriteBase BASE/

#uploaded files

RewriteRule ^(.*/)?files/$ index.php [L]

RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]

RewriteCond %{REQUEST_FILENAME} -d

RewriteRule . – [L]

RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]

RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]

RewriteRule . index.php [L]

Skip to toolbar