Skip to:

When users register their site is on the subdomain of BuddyPress not the main site…

  • Avatar of Tom Lynch
    Tom Lynch



    I am seriously stuck with this one, so any help will be severely appreciated!

    I have a BuddyPress install, which I have created several times on different machines with the same results…

    Main site: – WPMS Installation – Subdomain setup

    BuddyPress site: – blog id #2

    I have setup my BuddyPress subdomain using BP_ROOT_BLOG correctly, and my WordPress install uses DOMAIN_CURRENT_SITE to set the root site, however both BuddyPress and WordPress seem to use siteurl() to get the current site which means that all registrations are relative to the BP_ROOT_BLOG not the DOMAIN_CURRENT_SITE url.

    This has the result that through wp-signup.php you get and via BuddyPress you get which is not what I want.

    Please help, I have literally tried everything even filtering the wpmu/bp_validate_blog_signup and it still doesn’t work, so desperate to fix this as on Monday 300-600 people signup and I don’t want to have to edit them all manually.




    define( ‘BP_ROOT_BLOG’, 2 );
    define( ‘BP_DISABLE_ADMIN_BAR’, true );
    define( ‘BP_MEMBERS_SLUG’, ‘directory’ );
    define( ‘BP_BLOGS_SLUG’, ‘sites’ );
    define( ‘BP_GROUPS_SLUG’, ‘groups’ );
    define( ‘BP_ENABLE_ROOT_PROFILES’, true );
    define( ‘BP_SILENCE_THEME_NOTICE’, true );
    define( ‘WP_ALLOW_MULTISITE’, true );
    define( ‘MULTISITE’, true );
    define( ‘SUBDOMAIN_INSTALL’, true );
    $base = ‘/';
    define( ‘DOMAIN_CURRENT_SITE’, ‘’ );
    define( ‘PATH_CURRENT_SITE’, ‘/’ );
    define( ‘SITE_ID_CURRENT_SITE’, 1 );
    define( ‘BLOG_ID_CURRENT_SITE’, 1 );

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of Paul Gibbs
    Paul Gibbs


    We fixed this in BuddyPress 1.5

    Avatar of Paul Barthmaier
    Paul Barthmaier


    @PaulGibbs – What does this answer mean? Do you mean 1.2.5? I thought the current version is 1.2.10. I currently have the latest version installed. but I can only see it on the network admin. I can’t see it on any other site and I’d like to install on a subdomain.

    Avatar of aces


    1.5 is going to be released…. – any day now ?

    Avatar of Paul Barthmaier
    Paul Barthmaier


    So, what do you reckon I do, just wait for release? Or should I just Network Activate? I don’t understand why I can’t even see the plugin on subdirectories.

    Avatar of billie


    is this working in 1.5?
    my users are creating blogs like

    i’m using WordPress 3.2.1 with BuddyPress 1.5

    define ( ‘BP_ROOT_BLOG’, 14 );
    define ( ‘BP_ENABLE_MULTIBLOG’, true );
    define ( ‘BP_ENABLE_ROOT_PROFILES’, true );
    define( ‘BP_SILENCE_THEME_NOTICE’, true );
    define ( ‘BP_REGISTER_SLUG’, ‘socailmembership’ );

    am i doing something wrong?

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

You must be logged in to reply to this topic.