How can i hide members page from buddypress

Hi,

How can i hide the complete members profile page from buddypress? Sitename.com/members is now hidden but sitename.com/members/membername is not. How can i do that?

Thanks!