Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Simply doesn’t work


spudnutsncoffee
Member

@spudnutsncoffee

<IfModule mod_rewrite.c>

RewriteEngine On

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>

OK the above code is what I placed in HTACCESS, and I did as you suggested by uploading this file to my bbpress folder.

I then logged back into my site and I am still getting the 404 errors

Here is the actual error:

The page you tried to access does not exist on this server. This page may not exist due to the following reasons:

You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, click here for FTP Upload Information.

The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again.

The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation.

Skip to toolbar