Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Update BP from “.com/beta/” to just “.com/”


Tmort
Participant

@tmort

@stwc problem is, I’m using wordpress in a different folder than the root of the domain. So my WP files live in domain.com/wordpress/ and my “wordpress blog” is at domain.com.

I was told by sever people, including r-a-y that I need to change the “buddypress default domain” or something of that nature. I was told to put this code in my functions.php file, but it doesn’t work. Any suggestions?

// Getting rid of the subfolder in URLs/permalinks
function my_bp_override_core_domain() {
$domain = get_bloginfo(‘url’);
return $domain;
}
add_filter(‘bp_core_get_root_domain’,’my_bp_override_core_domain’);

Skip to toolbar