BP on subdomain and new blog registration URL
-
I’m doing an experiment with BP (1.2RC1 at the moment) on a subdomain, so that my main site is something like boone.com and all BP stuff happens at awesome.boone.com. For now I’m not really advocating widespread BP use on this particular project, so I’m instructing all new users to register their accounts and blogs on boone.com/wp-signup.php.
Despite this, I’ve had a few people discover awesome.boone.com/register and awesome.boone.com/blogs/create. The problem is that when they register new blogs, the blogs are given URLs relative to awesome.boone.com, eg myblogrulz.awesome.boone.com, when I would rather they have myblogrulz.boone.com.
What’s the best way to make this happen on the BP side? Can I use switch_to_blog somewhere so that site_url() is set correctly? Will doing it in the template be enough, or do I also have to tinker with bp-core/bp-core-signup.php? Or am I missing an existing config setting?
- The topic ‘BP on subdomain and new blog registration URL’ is closed to new replies.