steward (@steward)

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @steward

    Member

    Yesssss I did it!!!

    Instructions for Apache users:

    1. Append to <bbpress-root>/bb-includes/template-functions.php before “?>” code from first message in this topic.

    2. Create or edit .htaccess file in <bbpress-root> directory and put into then next code

    Options +FollowSymlinks

    RewriteEngine On

    RewriteBase /!!!!!! your bbpress root dir!!!!!!!/ #edit this!!!!

    RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ tags.php?tag=$1&page=$2 [L,QSA]
    RewriteRule ^tags/([^/]+)/?$ tags.php?tag=$1 [L,QSA]
    RewriteRule ^tags/?$ tags.php [L,QSA]
    RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&page=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/?$ profile.php?id=$1&tab=$2 [L,QSA]
    RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&tab=$2&page=$3 [L,QSA]
    RewriteRule ^profile/([^/]+)/?$ profile.php?id=$1 [L,QSA]
    RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ view.php?view=$1&page=$2 [L,QSA]
    RewriteRule ^view/([^/]+)/?$ view.php?view=$1 [L,QSA]
    RewriteRule ^rss/?$ rss.php [L,QSA]
    RewriteRule ^rss/forum/([^/]+)/?$ rss.php?forum=$1 [L,QSA]
    RewriteRule ^rss/topic/([^/]+)/?$ rss.php?topic=$1 [L,QSA]
    RewriteRule ^rss/tags/([^/]+)/?$ rss.php?tag=$1 [L,QSA]
    RewriteRule ^rss/profile/([^/]+)/?$ rss.php?profile=$1 [L,QSA]

    RewriteRule ^bb-login.php$ index.php

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

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

    @steward

    Member

    Help… I don’t understand anything :(.

    I read step by step your instruction and do all what do you wrote.

    But at the and I got: “The requested URL /<forum-home-dir>/<forum-slug> was not found on this server.”

    What I do wrong?

Viewing 2 replies - 1 through 2 (of 2 total)