Re: change root directory
You don’t need to put everything to the root, if you wish to have teh installation in a subfolder.
What you need is this code in “bp-custom.php”, which goes in the plugins directory:
// 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');
Credits for this go to r-a-y, who sort it out for me.
With this, your permalinks structure should be without the subfolder.
Still, I think I’m going to write something about this whole topic.