Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Permalinks setup with WP intalled in subdirectory and index.php in root


r-a-y
Keymaster

@r-a-y

Thanks for bumping this, I totally forgot about this thread!

bp_core_get_root_domain() uses the siteurl and not the blogurl.

Please try adding this to wp-content/plugins/bp-custom.php:

function my_bp_override_core_domain() {
$domain = get_bloginfo('url');
return $domain;
}
add_filter('bp_core_get_root_domain','my_bp_override_core_domain');

I’m not 100% sure this will work and it might break your BP site or it might do nothing ;)

If it breaks your site or if this doesn’t work, delete this snippet from bp-custom.php.

If you want to run BP from the “curemates” subdirectory, login to the WP backend, and change the blog URL setting to “http://cureuphoria.com/curemates/”, then rename the “site” folder in your FTP to “curemates”

This actually might be the easiest way to go about it. Try this method first!

Again, I’m probably missing something in my steps. But that should give you at least a starting point.

The rest you should be able to google up on the wp.org forums.

Skip to toolbar