Skip to:

Can I Run Non-BP theme on TLD and BP Theme on Subdomain all on same WPMU install

  • Russ Williams


    What I’ve been researching and playing around with on a local install is trying to get Buddypress only to be accessible from a Login required subdomain site created in WPMU.

    Basically I’ve got and I want that domain to function with a Non Buddypress Theme and have no real access to any Buddypress functionality.

    I’ve then got http://members. that was created from within the same WPMU install that I want to apply a Buddypress theme to and have all of the Buddypress content served through that site.

    When I tested accessing buddypress content from the subdomain all of the pages generated 404 errors since they are looking for

    Does anyone have any ideas on how to do this? I wouldn’t think I’m attempting rocket science here, but then again, I’m new to how BP functions so any advice would be much appreciated!

Viewing 15 replies - 1 through 15 (of 15 total)
  • For example if is Blog id 2, put this in your wp-config.php:

    define( ‘BP_ROOT_BLOG’, 2 );

    Russ Williams


    We are talking the only wp-config.php file that exists on the root level correct? I’m assuming that it can be added in anywhere?

    It needs to be loaded before the bp-core.php file is. AFAIK that is either wp-config.php, /plugins/bp-custom.php and I suppose a plugin that loads before BuddyPress.

    Russ Williams


    Got it. I added it to the top of the wp-config file and all is peachy. Thanks a ton.



    following on this topic, is there a way to remove the buddypress bar from the and leave it on ? or just adjust the available links on that bar.





    For example if is Blog id 2, put this in your wp-config.php:

    define( ‘BP_ROOT_BLOG’, 2 );

    You are hereby promoted to the status of … DemiGodPaul

    That one tiny tip has completely rescued my current project – well done that man


    Woo hoo!

    @kookjai – Topics marked as resolved (with the green icon) aren’t read very often. You’d have been better making a new topic as your question is different from what the thread is about :)

    Anyway, have a read of



    I second DJPaul’s ascension to god-like status (and nominate Jeff Sayre, for pointing me here). This solution worked perfectly. I now have BP running on as the community hub for the entire site. Everything is neat and tidy and works just fine. Many thanks.

    Andrea Rennick


    Count me in the DJPaul fan club. ;)



    ++1 for DJPaul!



    Ok I did this but my Blog doesn’t load? it just is a white screen and continually says loading in the browser, I even tried logging into Cpanel and creating the subdomain within there as well but still the same issue?

    I have put the line define( ‘BP_ROOT_BLOG’, 3 ); in my wpconfig in the root directory of my WPMU install… so what am I missing?

    Any ideas?





    White screen is usually a memory or parser problem. What does it say in your error log?



    Hi, thanks DJPaul for the tip!

    But, I need to stay active my Thematic chilt theme in the home page. How to do this? It´s possible?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Can I Run Non-BP theme on TLD and BP Theme on Subdomain all on same WPMU install’ is closed to new replies.
Skip to toolbar