BP_ENABLE_MULTIBLOG is a BuddyPress constant that, when defined as
true, allows your BuddyPress content to be displayed on any site in your WordPress Multisite network.
BP_ENABLE_MULTIBLOG is disabled.
On a normal BuddyPress installation (with
BP_ENABLE_MULTIBLOG disabled), BuddyPress content – groups, profiles, etc – can only be viewed on the “root blog”. So, for example, your BuddyPress profile is, by default, located at a URL that looks like this:
and it is displayed using the BuddyPress theme powering your root blog at
http://example.com/. This is true even if you allow users to create subdomain or subdirectory blogs, such as
http://example.com/boone/ – links to BuddyPress content, such as those that appear in your BuddyBar or WP toolbar, will always point back toward the root blog.
BP_ENABLE_MULTIBLOG enabled, BuddyPress content will be displayable on any site in your network, and BP links will always point to the current site. Thus,
http://boone.example.com/, profile links will point to
http://example.com/boone/, profile links will point to
http://example.com/, profile links will point to
and so forth.
To turn on
BP_ENABLE_MULTIBLOG mode, put the following line in your
wp-config.php file, somewhere above “That’s all, stop editing!”:
define( 'BP_ENABLE_MULTIBLOG', true );
Some warnings about
BP_ENABLE_MULTIBLOG is not appropriate for most situations, and you should be sure to understand its limitations carefully before enabling it.
- Note that
BP_ENABLE_MULTIBLOGis not the same thing as WordPress Multisite, and
BP_ENABLE_MULTIBLOGis not necessary for your users to have their own sites/blogs.
BP_ENABLE_MULTIBLOGdoes not enable separate BuddyPress networks on your installation. While it will be possible to view boonebgorges’s profile at more than one URL, the profile data itself (and group data, etc) will be the same on each site in your network. For multi-network BuddyPress, see http://wordpress.org/extend/plugins/bp-multi-network/.
- If you have enabled
BP_ENABLE_MULTIBLOG, you will need to ensure that each active theme on your installation is BuddyPress-enabled.