Affiliate Disclosure: We may be compensated if you use our links to make a purchase. We are extremely selective in who we partner with & only recommend products we believe in. Our affiliate relationships do not influence our recommendations.
BuddyBoss creates several pages dynamically & automatically for each and every member of your site. When you use BuddyBoss’ main header menu, and the default vertical & horizontal tab navigation on profile pages, these links are automatically created for you, and they direct the member to their own custom profile pages.
But what if you want to insert a link to a user profile page somewhere else on your site? Or add a button via a page builder that links to a specific profile page, saved discussions, etc.?
For all BuddyBoss profile pages tied to a user—profiles, forum discussions, activity feeds, etc.—you can simply replace the username with the word “me” in the URL. Ex: site.com/members/me/
This will always link to the logged in user’s unique BuddyBoss page.
![BuddyBoss student profile page](https://ldx.design/wp-content/uploads/2024/04/buddyboss-member-profile-page-983x1024.jpg)
For example, let’s say you want to link to the currently logged in user’s profile page. This URL is unique for each and every user. For me, the URL is:
https://mysite.com/members/dave/
But my friend John’s member profile is located at:
https://mysite.com/members/john/
How do we create one link that will take each unique user to their own profile page? It’s actually quite simple.
https://mysite.com/members/me/
You simply replace the member’s username with me
. BuddyBoss is smart enough to know to redirect the member to their own page.
This works for all BuddyBoss pages in the members area. Here’s a link to the member’s forum discussions:
https://mysite.com/members/me/forums/
Here’s how you can link to edit a user’s profile:
https://mysite.com/members/me/profile/edit/
Learn more about BuddyBoss profile pages in our LearnDash + BuddyBoss guide.
NOTE
This also works for the BuddyPress plugin, if you’re using that instead of BuddyBoss.
Leave a Reply