# 루트를 통해 내부 링크 리다이렉트

**URL:** <https://meta.discourse.org/t/redirecting-internal-links-via-routes/236019>\
**Category:** Product Support\
**Created:** [8월 12, 2022, 6:19오후 UTC](https://meta.discourse.org/t/redirecting-internal-links-via-routes/236019 "2022-08-12T18:19:54Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [8월 17, 2022, 1:46오후 UTC](https://meta.discourse.org/t/redirecting-internal-links-via-routes/236019/8 "2022-08-17T13:46:04Z")

</div>

> [@attj](#):
>
> 누군가 게시물에 내부 링크 [mywebsite.com/123/456](http://mywebsite.com/123/456)를 넣기 전까지는 잘 작동했는데, 리다이렉트가 되지 않는다는 것을 알게 되었습니다.

아하. 그렇다면 게시물에 입력된 링크를 다시 작성(rewrite)해 주는 테마 구성 요소가 필요하신 것 같습니다. 정확히 어떻게 해야 하는지는 잘 모르겠습니다. 하나는 그 링크들을 위해 BBCode를 사용하는 것인데, 사용자에게 약간의 교육이 필요할 것입니다. 하지만 테마 구성 요소가 링크가 최종적으로 처리될 때 해당 링크를 가로채서 다시 작성할 수 있을 것 같습니다.

---

_[View the full topic](https://meta.discourse.org/t/redirecting-internal-links-via-routes/236019)._
