Link is wrong for rtMedia uploaded image link in comments with WPMU network env


My wordpress deployment is multi site network subdomain setup, buddypress is installed in one subdomain currently with the new theme InspireBook, and the primary site and other subdomain sites use other themes.

Whatever I activated the rtMedia Pro in netowrk level or individually, when I upload images in buddyPress site blog posts or other subdomain blogs, the generated link is always links to the media tab of the user buddypress profile page.

If I upload image to a buddypress blog post, the image will show in the profile page and can be edited. But if I clicked the Media tab, that image can not be found.

If I upload image to other subdomain blog post, the link points to the user profile page too (buddypress site), but one error message saids “Sorry !! There’s no media found for the request !!”

Both situations ,the file is successfully uploaded.

The generated comments in buddypress site blog post:



the link:

The generated comments in other subdomain blog post:



the link:

The uploaded images work well in activity updates and forum, would it be also that when I click the images in the comments, the gallery box should be opened to view the images?

Could you take a look at it?


Could you help check this?


@hanzhidou, Sorry for the late reply. I visited both of your sites and looks like both are down. It shows the error message "The requested URL could not be retrieved".

this was a private reply with post_id 62329

You have activated BuddyPress in one the subdomain blog, so it is not network activated right?

If I upload image to a buddypress blog post, the image will show in the profile page and can be edited. But if I clicked the Media tab, that image can not be found.e found.

In media tab you can only see media that were uploaded through media tab or through activity update. Even BuddyPress group media won’t be shown in media tab. Please check this blog post -> The media’s attached to blog post comment will not be shown in Media tab and that’s why showing no media found message.

Please check and confirm whether BuddyPress is network activated or not.

I tried domain mapping but still it shows “The requested URL could not be retrieved”.

BuddyPress and all rtMedia plugins are network activated.

My Buddpress configuration as blow:

define ( 'BP_ROOT_BLOG', 4 );

I use one subdomain ( as the Buddypress root, the primary domain is just one blog to collect all blogs from subdomains.

define ( 'BP_ENABLE_ROOT_PROFILES', true ); Put profiles in the root —

define( 'BP_ENABLE_MULTIBLOG', true );

BP_ENABLE_MULTIBLOG is a BuddyPress constant that, when defined as true, allows your BuddyPress content to be displayed on any site in your WordPress Multisite network. By default, BP_ENABLE_MULTIBLOG is disabled.

I tried giving comments with one photo in the primary site post again:

The image link in the post is:

when I clicked it, it jumped to and I got "Sorry !! There's no media found for the request !!" in the page.

Then I changed the url to

One page with the photo showed up!

If from another sub site, it works also if I changed the url to like below

Looks if we use current domain instead of always using buddypress root domain, and if not in buddypress root domain, use the current domain's 'author' link, the problem can be solved.

Attachment Link(s):

@hanzhidou, got the issue, thanks for pointing out. This issue will be fixed and will be updated in future release. We had created the issue, you can track status here ->

two months passed, this issue is not assigned yet, could you help prioritise it?


apologies for delay in this. There are some prior works which needs to be done first. Don’t worry this has been reported to our issue tracking system so it will be resolved.