Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Buddypress not on themainblog ?


John
Participant

@johnwinch42

Hello,

Thanks you very much for helping me.

I’ve followed your link but I’ve got a problem.

(3) Keep your old BuddyPress user / group avatars
I don’t find my file bp-custom.php (at the following location : wp-content/plugins/buddypress/), should I create one or is it at an another location ? I’ve looked but I didn’t find anything.

(4) Redirect previous BuddyPress permalinks
I’ve edited my .htaccess but when I click on my name from a comment I’ve made on a post on the blog’s network or if I try to view an activity I end up on the same page : the Members Directory. I’m using the default buddypress theme on the blog.

Did I make a mistake on my .htaccess ?

Here’s the path of my installation, using Wamp :
http://127.0.0.1/themainblog/ – the main blog
http://127.0.0.1/themainblog/network/ – where buddypress is enabled.
http://127.0.0.1/themainblog/blogname/ – a blog from the network

Here’s how I edited my htaccess :

RewriteEngine On
RewriteBase /themainblog/
RewriteRule ^index.php$ – [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

RedirectMatch 301 ^/members/(.*)$ http://127.0.0.1/themainblog/network/members/$1
RedirectMatch 301 ^/groups/(.*)$ http://127.0.0.1/themainblog/network/groups/$1
RedirectMatch 301 ^/blogs/(.*)$ http://127.0.0.1/themainblog/network/blogs/$1
RedirectMatch 301 ^/forums/(.*)$ http://127.0.0.1/themainblog/network/forums/$1

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]

Best regards,

Skip to toolbar