punktoronto (@punktoronto)

Forum Replies Created

Viewing 1 replies (of 1 total)
  • @punktoronto

    Member

    Has this been solved? I’ve been trying to figure it out as well. Everything I’ve found is for wordpress-mu and I’m not sure what needs to be changed to use it with regular wordpress.

    I found this http://insecure.no/2009/01/wordpress-and-bbpress-nice-url-rewrite-for-nginx/ it sort of works. pretty permalinks work but any attached files such as the css sheet or jquery.js returns a 404 not found error. Any Ideas?

    # SEO friendly URLs for bbPress

    #

    location /forums/ {

    root /path/to/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;

    }

    }

Viewing 1 replies (of 1 total)