# How to pass USERNAME in 'https://site.com/u/\<USERNAME\>/summary'

**URL:** https://meta.discourse.org/t/how-to-pass-username-in-https-site-com-u-username-summary/268140
**Category:** Support
**Created:** [June 13, 2023, 8:48am UTC](https://meta.discourse.org/t/how-to-pass-username-in-https-site-com-u-username-summary/268140 "2023-06-13T08:48:54Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![OsaIsacson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osaisacson/32/263464_2.png) [@OsaIsacson](https://meta.discourse.org/u/OsaIsacson)
#### Post date: [June 13, 2023, 8:48am UTC](https://meta.discourse.org/t/how-to-pass-username-in-https-site-com-u-username-summary/268140/1 "2023-06-13T08:48:54Z")

</div>

I need to add a link in the left sidebar as a shortcut for users getting straight to ‘My profile’.

- I want to add the link through a custom section, like so:  
 ![Screenshot 2023-06-13 at 10.46.16](https://global.discourse-cdn.com/meta/original/4X/a/4/1/a41b5d9c16c23afc115d46070438f30af6d90960.jpeg)

Clues? I see you can meck about with js but I figure there MUST be a dynamic value to pass for the currently logged in user. Just can’t find the syntax for it 🙂

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 13, 2023, 8:59am UTC](https://meta.discourse.org/t/how-to-pass-username-in-https-site-com-u-username-summary/268140/2 "2023-06-13T08:59:48Z")

</div>

`/my/summary` does what you want. Not sure where you can easily find that, though.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [June 13, 2023, 9:05am UTC](https://meta.discourse.org/t/how-to-pass-username-in-https-site-com-u-username-summary/268140/3 "2023-06-13T09:05:37Z")

</div>

Couldn’t find any #tips-and-tricks #profile topic about this. Might be a good and short candidate… Not sure about the right keywords to use so we can find it easily with the search though. 🙂

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 13, 2023, 9:07am UTC](https://meta.discourse.org/t/how-to-pass-username-in-https-site-com-u-username-summary/268140/4 "2023-06-13T09:07:35Z")

</div>

I think just “how to link to user profile” would do it unless those words are all too generic to make the search work.

I got a link to [How To Link To A User's Tabs?](https://meta.discourse.org/t/how-to-link-to-a-users-tabs/156725) I in the suggested topics below this post. And [Dynamically link to user account](https://meta.discourse.org/t/dynamically-link-to-user-account/152955) and some others.

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [June 13, 2023, 9:10am UTC](https://meta.discourse.org/t/how-to-pass-username-in-https-site-com-u-username-summary/268140/5 "2023-06-13T09:10:06Z")

</div>

why does the avatar menu profile tab not work?

also i searched “link to profile” and got it second item in search results.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [June 13, 2023, 9:13am UTC](https://meta.discourse.org/t/how-to-pass-username-in-https-site-com-u-username-summary/268140/6 "2023-06-13T09:13:42Z")

</div>

I’m just bad at search apparently 😅

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 13, 2023, 9:17am UTC](https://meta.discourse.org/t/how-to-pass-username-in-https-site-com-u-username-summary/268140/7 "2023-06-13T09:17:20Z")

</div>

Not bad, just worse than the AI. And so it begins 😹

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 22, 2023, 10:33am UTC](https://meta.discourse.org/t/how-to-pass-username-in-https-site-com-u-username-summary/268140/8 "2023-08-22T10:33:26Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
