# 사용자 프로필을 외부 웹사이트로 리다이렉트하기

**URL:** https://meta.discourse.org/t/redirect-user-profiles-to-external-website/202655
**Category:** Support
**Created:** [9월 5, 2021, 10:50오전 UTC](https://meta.discourse.org/t/redirect-user-profiles-to-external-website/202655 "2021-09-05T10:50:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![LKinora](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lkinora/32/199852_2.png) [@LKinora](https://meta.discourse.org/u/LKinora)
#### Post date: [9월 5, 2021, 10:50오전 UTC](https://meta.discourse.org/t/redirect-user-profiles-to-external-website/202655/1 "2021-09-05T10:50:34Z")

</div>

여러분 안녕하세요. 이 주제에 대한 몇 가지 게시물을 봤는데 명확한 답변은 찾지 못했습니다.

사용자 프로필 페이지를 동일한 외부 페이지로 리다이렉트할 수 있는 것 같습니다. 즉, 누군가의 사용자 이름이 클릭되면 해당 외부 페이지로 리다이렉트되는 방식이죠.

성공적으로 이 기능을 구현하신 분이 계신가요? 방향을 잡아주실 수 있을까요?  
감사합니다.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [9월 5, 2021, 11:01오전 UTC](https://meta.discourse.org/t/redirect-user-profiles-to-external-website/202655/2 "2021-09-05T11:01:24Z")

</div>

이것이 도움이 될까요?

> [@(Retired) Use an ID in a custom user field to link to a user's external profile](https://meta.discourse.org/t/link-custom-user-field-to-external-website/41218):
>
> 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://myawesomewebsite.com/user/USER\_PROFILE\_ID Let’s get started! Create a custom user field Let’s create a user field with name User Profile. Make sure “Show on public profile?” option is enabled. The above field will store external user profile IDs. A…

---

<div class="post-metadata">

### Author: ![LKinora](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lkinora/32/199852_2.png) [@LKinora](https://meta.discourse.org/u/LKinora)
#### Post date: [9월 5, 2021, 12:10오후 UTC](https://meta.discourse.org/t/redirect-user-profiles-to-external-website/202655/3 "2021-09-05T12:10:03Z")

</div>

@JammyDodger 감사합니다. 확인했습니다. 하지만 이 방식은 여전히 Discourse 사용자 프로필 페이지를 유지하면서, 사용자 필드 중 하나로 외부 링크를 추가하고 클릭 가능하게 만드는 것 같습니다. 프로필 페이지를 완전히 대체할 수 있을지 궁금합니다. 카드는 유지하되, 사용자가 사용자 이름/프로필 이미지를 클릭하면 완전히 다른 페이지로 리다이렉트되도록 할 수 있을까요?

---

<div class="post-metadata">

### Author: ![JonathanShaw](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathanshaw/32/532672_2.png) [@JonathanShaw](https://meta.discourse.org/u/JonathanShaw)
#### Post date: [9월 5, 2021, 2:07오후 UTC](https://meta.discourse.org/t/redirect-user-profiles-to-external-website/202655/4 "2021-09-05T14:07:13Z")

</div>

최근 비슷한 작업을 해야 해서, 관련 방법을 정리한 가이드를 만들었습니다:  
[테마 컴포넌트에서 기존 Discourse 라우트를 리다이렉트하는 방법](https://meta.discourse.org/t/how-to-redirect-an-existing-disourse-route-in-a-theme-component/201900)
