Skip to:

Buddypress on a Subdomain

  • Nick Padley


    Hi all,

    I’ve been searching the forums for a few hours now for an answer and am not able to find what I need. I apologize if this is a redundant question, but here goes:

    Currently, I am using WPMU to host three sites and with domain mapping, have a .com going to each one.

    I’m currently developing a new site that I would like to run using Buddypress. However after installing the plugin and activating it, I have found that Buddypress only works on the root blog.

    I found the configuration info such as:

    define ( ‘BP_ENABLE_MULTIBLOG’, true );
    define ( ‘BP_ROOT_BLOG’, $blog_id );

    but I’m still running into a problem with having either of those options set where Buddypress still wants to use my root blog for the profile information.

    What I would like to do is to have Buddypress installed on a fourth subdomain and confine Buddypress to just that domain. I played around with the multi-site plugin, but still couldn’t get it exactly working how I want.

    At this point, I’m considering a separate install of WPMU, but would prefer to run everything from a single WPMU install for simplicity.

    Any suggestions on what I can do (or am doing wrong here?)

Viewing 3 replies - 1 through 3 (of 3 total)

  • John James Jacoby


    Give me the weekend to test a theory. This should be possible by setting the BP_ROOT_BLOG to be the ID of the blog you want it to be, but if it’s not working that way I need to take a look at why.

    You’ll want bp_enable_multiblog set to false. Setting it to true allows all subdomains to have access to the directories and profiles areas. This is mostly useful if you’re trying to use specific subdomains for specific pieces of BP, or if you want all blogs/subdomains/sites to have access to the directories from within themselves.

    If you take a look at, you’ll see how they have BP used there within a subdomain.

    I also think the better answer to your question would be to create a custom theme that only shows BP elements in the domain/subdomain that you want to show them. But, that takes a little more work I suppose. :)

    Nick Padley


    Hi John. Let me know what you find out. My original thought was that it shouldn’t be too hard to bind buddypress to a single blog and run it on a specific domain.

    Could the problem be related to setting up the domain mapping plugin? I was hoping to bind everything to a single domain and use that domain for the social networking piece.


    John James Jacoby


    I’ve got no first hand experience with the domain mapping plugin myself, but I have used the multi-site plugin and it seems capable of doing what you want if I understand you correctly.

    Ultimately there will still be a shared userbase between the sites though, even if they’re on different domains and you only want one of them to have a buddypress’ish community feel to it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Buddypress on a Subdomain’ is closed to new replies.
Skip to toolbar