Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Can’t get permalinks working

My .htaccess located in /forums/ had a permission of 644.

I didn’t delete the htaccess, just disabled permalink.. so I still have the contents of the file (I pulled it directly from bbpress rewrite php file):

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forums/
RewriteRule ^forum/(.+)/page/([0-9]+)$ /forums/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/(.+)/?$ /forums/forum.php?id=$1 [L,QSA]
RewriteRule ^topic/(.+)/page/([0-9]+)$ /forums/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/(.+)/?$ /forums/topic.php?id=$1 [L,QSA]
RewriteRule ^tags/(.+)/page/([0-9]+)$ /forums/tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/(.+)/?$ /forums/tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ /forums/tags.php [L,QSA]
RewriteRule ^profile/(.+)/page/([0-9]+)$ /forums/profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/(.+)/([a-z-]+)$ /forums/profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/(.+)/([a-z-]+)/page/([0-9]+)$ /forums/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/(.+)/?$ /forums/profile.php?id=$1 [L,QSA]
RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /forums/view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([a-z-]+)$ /forums/view.php?view=$1 [L,QSA]
RewriteRule ^rss/$ /forums/rss.php [L,QSA]
RewriteRule ^rss/forum/([0-9]+)$ /forums/rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/topic/([0-9]+)$ /forums/rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([a-z-]+)$ /forums/rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([0-9]+)$ /forums/rss.php?profile=$1 [L,QSA]
</IfModule>

Skip to toolbar