Mulisite – How to Get a Users Site/Blog URL
In a multisite setup, when users are visiting a blog/site that is not theirs, I would like to display a link to “Visit My Blog” that takes them to that users “primary” blog – domain.com/user
I have tried several different PHP variations, but none of them are correct. Each one either takes me to domain.com or domain.com/members/user
Tried to input the PHP I have used but it doesn’t seem to save correctly. Maybe I am doing something wrong?
I am using WP 3.5 with buddypress installed.
- The topic ‘Mulisite – How to Get a Users Site/Blog URL’ is closed to new replies.