When users register their site is on the subdomain of BuddyPress not the main site…
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: http://gdnm.org – WPMS Installation – Subdomain setup
BuddyPress site: http://network.gdnm.org – 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.
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’, ‘gdnm.org’ );
define( ‘PATH_CURRENT_SITE’, ‘/’ );
define( ‘SITE_ID_CURRENT_SITE’, 1 );
define( ‘BLOG_ID_CURRENT_SITE’, 1 );
You must be logged in to reply to this topic.