# (Retired) Use an ID in a custom user field to link to a user's external profile

**URL:** <https://meta.discourse.org/t/retired-use-an-id-in-a-custom-user-field-to-link-to-a-users-external-profile/41218>\
**Category:** Site Management\
**Created:** [3월 17, 2016, 5:43오후 UTC](https://meta.discourse.org/t/retired-use-an-id-in-a-custom-user-field-to-link-to-a-users-external-profile/41218 "2016-03-17T17:43:28Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![pblog](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pblog/32/121268_2.png) [@pblog](https://meta.discourse.org/u/pblog)\
**Post date:** [1월 7, 2017, 3:54오후 UTC](https://meta.discourse.org/t/retired-use-an-id-in-a-custom-user-field-to-link-to-a-users-external-profile/41218/21 "2017-01-07T15:54:30Z")

</div>

The issue was happening because this guide is not for linking a username to the main site.  
If you are looking for such functionality please refer to this new guide

> [@(Retired) Link username to external profile](https://meta.discourse.org/t/link-username-to-external-website/55327):
>
> Let’s say you want to add a link of User’s main profile page on Discourse user profile page and user card, clicking on that link will take user to main (external) website. The link of main website user profile page will be like: http://site.com/username Where username is the Discourse username of that user. (It should be same on both main site and Discourse forum) Let’s get started! Add custom CSS Paste this CSS code in Admin \> Customize \> CSS/HTML \> CSS section: #user-card .metadata h3 { …

---

_[View the full topic](https://meta.discourse.org/t/retired-use-an-id-in-a-custom-user-field-to-link-to-a-users-external-profile/41218)._
