Skip to:
Content
Pages
Categories
Search
Top
Bottom

MU WordPress BBPress Integration with Nginx Rewrites

  • I set up an integrated BBPress and MU WordPress on Nginx. There may be a better way of doing the rewrites but these work well for me.

    Here are the BBPress Nginx rewrites:

    location /forums/ {

    root /home/YOURDIRECTORY/public_html/forums;

    index index.php;

    if (!-e $request_filename) {

    rewrite ^/forums/topic/(.*)$ /forums/topic.php?q=$1 last;

    rewrite ^/forums/forum/(.*)$ /forums/forum.php?q=$1 last;

    rewrite ^/forums/profile/(.*)$ /forums/profile.php?q=$1 last;

    rewrite ^/forums/view/(.*)$ /forums/view.php?q=$1 last;

    rewrite ^/forums/tags/(.*)$ /forums/tags.php?q=$1 last;

    rewrite ^/forums/rss/(.*)$ /forums/rss.php?q=$1 last;

    rewrite ^/forums/bb-admin/ /forums/bb-admin/index.php last;

    rewrite ^/forums/ /forums/index.php last;

    break;

    }

    }

    Here’s a full write up here:

    http://dev.honewatson.com/bbpress-wordress-mu-integration-nginx-pretty-urls-rewrites/

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

  • RoseCitySister
    Member

    @rosecitysister

    Just what I was looking for, thanks!


    RoseCitySister
    Member

    @rosecitysister

    Oops, take that back. Thanks anyway!

    I have found that as long as you change your Site Admin => Options and tell WPMU not to use the blog name of your forum in the signup process, you can use the normal bbPress .htaccess method. It works fine for me on http://onvertigo.com anyways.

    Trent

    Hi sorry for the bump, My bbpress is not integrated with wordpress, and the rewrite for profile edit “/profile/username/edit?q=” doesn’t seems to work, while the other works fine.. any suggestion for my problem? thx//

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

You must be logged in to reply to this topic.