bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

MU Wordpress BBPress Integration with Nginx Rewrites

(5 posts)
  • Started 1 year ago by honewatson
  • Latest reply from tajid.yakub
  • This topic is not resolved
  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/

    Posted 1 year ago #
  2. Just what I was looking for, thanks!

    Posted 10 months ago #
  3. Oops, take that back. Thanks anyway!

    Posted 10 months ago #
  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

    Posted 10 months ago #
  5. Anonymous
    Unregistered

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

    Posted 4 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.