What is the URL that the links are pointing to? (Hover over and look in the status bar at the bottom of the browser window, or view page source.) Does it look like this? http://example.com/members//profile – with those two slashes next to each other?
Can you say more about your setups? https://buddypress.org/forums/topic/when-asking-for-support