Info
- 5 posts
- 4 voices
- Started 4 years ago by honewatson
- Latest reply from Anonymous
- This topic is not resolved
MU WordPress BBPress Integration with Nginx Rewrites
-
- Posted 4 years ago #
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 4 years ago #
Just what I was looking for, thanks!
-
- Posted 4 years ago #
Oops, take that back. Thanks anyway!
-
- Posted 4 years ago #
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 3 years ago #
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//
-
You must log in to post.