Also wanted to add that none of my other links have any problems.
Alright, guess I just needed to eat.
template-parts> header> buddypress-profile.php
Under //User notifications, first <a class… add a ‘/’ between user_domain and notifications like so:
bp_loggedin_user_domain( ) . '/' . $bp->notifications->slug )
Forced the slash and now all is good.
Unfortunately, you’ve applied a band-aid at the Theme level. The next Theme update will remove your band-aid and you will have to apply it again, given the approach you’ve taken.
The bp_loggedin_user_domain( )
function should have returned a URL with a trailing slash, for example:
http://www.url.com/members/username/
Which is why the Theme has it written as:
bp_loggedin_user_domain() . $bp->notifications->slug
Something is causing the trailing slash to be missing, solving for this will be the fix. Maybe a plugin or some custom code is filtering the return value, such that is stripping the trailing slash.
Assuming you are using BuddyPress 14.3.3, see the following URL for the source code:
bp_loggedin_user_domain()
I’ve also got the solution. Thank You!
Yeah, theme update cleared it. I spent 5 hours trying to find out why the trailing slash isn’t working, even telling it to force one. Clearing all of the plugins didn’t fix it. All other slashes work except for that specific header. I have to just keep fixing it manually I guess.
@cactuscat
What is your permalink structure set to, e.g., plain or pretty URLs?