4 years, 10 months ago
Thanks a lot @xxjonfenxx.
But, how do i add the code to the home page?
You just showed me some really nice idea for my community.
However, it is not exactly what i need.
I was able to go back to the login page when i click on the link you gave, though it showed “Great! You have successfully login.”
In my case, after logging in, if you click on the homepage(which is the login page) link or logo, it will take you to your profile since you are logged in already.
Thanks for your patience.
Sorry, it didn’t work for me.
Maybe i need to explain myself better.
I want any user who is already logged, to be redirected to the profile if the user tries to access the login page (which i have made the home page).
I am using a multisite.
I hope i didn’t have to apply all the snippets you provided. I used only the BP redirect to profile and it didn’t work.
4 years, 11 months ago
I found a simple solution.
After activating multisite I installed and network activated BuddyPress.
I also added this line to wp-config.php: define ( ‘BP_ROOT_BLOG’, 2 )
It works perfect, just the way i wanted it.
Thanks, you all.
Thanks for the responses.
I have tried your steps @deadlinkd, but unfortunately it didn’t work for me.
5 years ago
Thanks so much, Ray.
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service