WordPress MU and Buddypres – Activity component redirection issue.

I have WordPress MU setup and BuddyPress installed across the network. I am facing one issue where if I click on “Activity” menu from a child site, it redirects me back to home page.

I mean http://example.com/child-site-1/activity redirects me to http://example.com/child-site-1/activity

When I am on root site i.e. http://example.com/child-site-1/activity then /activity works perfectly fine.

Any idea why this may happen and how can I resolve it? Also facing the redirection problem when I click on logged in user name. It takes me to home page from there too. Instead it should take me to the profile page. Both the requests redirects to home page and when I check the status code for the request its 302