Skip to:
Content
Pages
Categories
Search
Top
Bottom

Installing buddypress as a Subdomain

  • Hi there

    1st of all, I found your support awesome and I like to share you my misery to help me with it please

    2nd I’m so sorry if I knocked a door which was already opened

    but I searched around for an answer but with no avails

    I’m not an expert in php coding or master in web designing but I’m building a medical website which is proudly using press services, WPMU, BBpress and Now I wanna Add Buddypress.

    I searched around for how-to install buddypress as a sub-domain

    I’m using wpmu 2.9.1, wildcard is active and I like the install buddypress as

    Community.example.tld

    rather than Install Buddypress on a Secondary Blog –> (http://codex.buddypress.org/how-to-guides/install-buddypress-on-a-secondary-blog/)

    I’ve read Changing Internal Configuration Settings –> (http://codex.buddypress.org/how-to-guides/changing-internal-configuration-settings/) but didn’t find a clear answer.

    I came across this code if I like to Set which blog ID BuddyPress will run on:

    define ( ‘BP_ROOT_BLOG’, $blog_id );

    So, if I didn’t find an answer for my first question, I have plan B question ;)

    if I’ve chosen the blog Id to be 3 for example

    would it be like this blog3.example.tld/community

    and How can I Keep my old BuddyPress user / group avatars in the 1st and 2nd situation ??

    and How to Redirect previous BuddyPress permalinks in both cases

    I’m sorry again if I asked for something which is already answered but you are my last hope

    Thank you again

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Sabuntu.

    Thank you so much for your contribution on wpmudev.

    http://premium.wpmudev.org/forums/topic/how-to-install-buddypress-as-a-sub-domain

    You saved me so much time on this.

    I’m adding this post so that maybe it can help out people here as well.


    r-a-y
    Keymaster

    @r-a-y

    The secondary blog instructions should apply, just change the subdirectory references to subdomain ones if you installed WPMU as a subdomain install.

    I guess the instructions could be clearer, I’ll make some modifications to it when I have some time.

    But @sabuntu, did you know you – yes you! – can edit any page on codex.buddypress.org? Just make sure you are logged in.


    Andrea Rennick
    Participant

    @andrea_r

    “I came across this code if I like to Set which blog ID BuddyPress will run on:

    define ( ‘BP_ROOT_BLOG’, $blog_id );

    So, if I didn’t find an answer for my first question, I have plan B question ;)

    if I’ve chosen the blog Id to be 3 for example

    would it be like this blog3.example.tld/community “

    The Blog ID has no bearing on the actual subdomain. It’s just internal. So if the blog ID was 3, the 3 would not be in the subdomain.


    r-a-y
    Keymaster

    @r-a-y

    Just made a few, minute changes to the secondary blog guide:

    https://codex.buddypress.org/how-to-guides/install-buddypress-on-a-secondary-blog/

    @andrea_r – can you give it a once-over since you’re a WPMU guru? ;)


    Andrea Rennick
    Participant

    @andrea_r

    Looks right to me. You got the whole “do this on the SECONDARY blog” part in there. :D

    Thanks everybody for the backup

    Actually, I raised this issue and I found the answers, Thanks to both wpmudev and buddypress docs

    But after activating buddypress on a subdomain, I found it better if I activated it on the root blog, so I will not confuse my members.

    I tried to reverse the process, But I completely failed

    I tried the following maneuvers but non of them succeeded:

    1- I deactivated bp plugin and deleted it –> once installed and activated again it will be activated back on blog 3

    2- I droped the bp tables in the database, installed again but the same problem

    3- I added this code to wp-config:

    define ( ‘BP_ROOT_BLOG’, 1 );

    define( ‘BP_AVATAR_UPLOAD_PATH’, ‘/var/www/wp-content/blogs.dir/3/files’ );

    define( ‘BP_AVATAR_URL’, ‘hxxp://community.example.com’ );

    and tried to activate bp plugin again

    it activated nicely and asked me to choose a theme for buddypress but once choosing a theme I see only a blank white page and I can’t access my dashboard even

    I get to it by accessing another blog and deactivating bp plugin to get through my dashboard

    so I tried another way

    I did all of the mentioned in addition to editing my .htaccess and adding the following codes

    RedirectMatch 301 ^/members/(.*)$ http://community.example.com/members/$1

    RedirectMatch 301 ^/groups/(.*)$ http://community.example.com/groups/$1

    RedirectMatch 301 ^/blogs/(.*)$ http://community.example.com/blogs/$1

    RedirectMatch 301 ^/forums/(.*)$ http://community.example.com/forums/$1

    but non of them helped

    I still have one option to delete blog 3, but I’m afraid I will be stuck and No way to do it back

    I Know I’m asking too much but Please Help Me

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Installing buddypress as a Subdomain’ is closed to new replies.
Skip to toolbar