Does bp.mainsite.com/members/username exist? Normally it should all point back to the main site were BP was installed.
No, on the mainsite there is no members/. Although BP is network enabled, it is assigned to the secblog (subdomain), which is where the /members/username exist.
With that, how am I able to hook into comments-template.php?
Did you post over on the BP forums? You’re likely to get better help there, as it should detect that the BP blog is not the main.
Hi Andrea,
Yes, I posted there just a little bit ago.
Thanks, Tonya
You need to set the BP Root Slug constant for that, though if you have and that doesn’t work, this should be fixed in the next BP release.
Marked it as issue resolved.
Thanks for your help!
(@tjbrewers)
14 years, 8 months ago
I’m running a WPMU with BuddyPress on the subdomain. All users of all sites are BP members, registration is through the BP site. On the main site, when a user posts a comment, the link shows mainsite.com/members/username instead of bp.mainsite.com/members/username.
I’d like to filter into (through my child template’s function.php) comment-template.php to change the url. How do I do that?
Thank you, Tonya