Re: BP Album+ problem with images path with WP in subfolder
I need to fix this.
I noticed that now Tweetstream adds a litle icon to post generated from Twitter and the image path to that icon image is broken too.
And I can’t afford not to have broken images within Album+!
I got WP in a subfolder and the images from plugins stuff are broken because they don’t find the right path due to a function I need to have in “bp-custom.php”, that allows me to have permalinks such as mysite.com/activity, instead of mysite.com/subfolder/activity.
This is the code:
function my_bp_override_core_domain() {
$domain = get_bloginfo('url');
return $domain;
}
add_filter('bp_core_get_root_domain','my_bp_override_core_domain');
What’s the best solution, knowing that I need to keep permalinks structure without the “subfolder”?
Should I write other functions per plugin to indicate the correct path (with “subfolder”)?
And what this code would be?
@r-a-y unfortunately the above code didn’t work for me.
Please help me with this.