Forums

Join
bbPress Support ForumsInstallationMU WordPress BBPress Integration with Nginx Rewrites

Info

MU WordPress BBPress Integration with Nginx Rewrites

  1. 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/

  2. Just what I was looking for, thanks!

  3. Oops, take that back. Thanks anyway!

  4. 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

  5. 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//

  6. You must log in to post.