Re: Install BP in a Sub-Blog
You can change this with a little .htaccess magic.
Say your Buddypress is setup in the following sub-blog – hxxp://example.com/community
Find where your wp-config.php file is located and in the same directory there should be a .htaccess file. Open it up in a text editor.
Above the line:
# add a trailing slash to /wp-admin
Add the following:
RedirectMatch 301 ^/members/(.*)$ http://example.com/community/members/$1
RedirectMatch 301 ^/groups/(.*)$ http://example.com/community/groups/$1
RedirectMatch 301 ^/blogs/(.*)$ http://example.com/community/blogs/$1
RedirectMatch 301 ^/forums/(.*)$ http://example.com/community/forums/$1
This should correctly redirect your old BP links to the new ones.
In the example above, is there anyway I can use:
I don’t mind hacking a few core files to accomplish this. If not, I can always theme the registration / activate pages to match the WPMU root blog.
I’ve only spent a few minutes looking into this so far and I haven’t found a way.