# 로고를 메인 웹사이트 홈페이지로 연결하기

**URL:** https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984
**Category:** Support
**Created:** [6월 20, 2023, 3:42오전 UTC](https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984 "2023-06-20T03:42:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MikeNolan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikenolan/32/297597_2.png) [@MikeNolan](https://meta.discourse.org/u/MikeNolan)
#### Post date: [6월 20, 2023, 3:42오전 UTC](https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984/1 "2023-06-20T03:42:58Z")

</div>

변화에 대해 이야기하고 있는 만큼, 원하시는 것 중 하나는 왼쪽 위 로고 링크를 Discourse 포럼이 아닌 메인 웹사이트로 연결하도록 변경하는 것입니다. 하지만 이는 설정 가능한 매개변수가 아닌 것 같습니다. (이것은 Discourse 호스팅 사이트에서 발생한 문제입니다.)

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [6월 20, 2023, 6:04오전 UTC](https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984/2 "2023-06-20T06:04:13Z")

</div>

@MikeNolan 이 내용을 새로운 주제로 분리했습니다. CSS를 직접 수정하여 해당 변경 사항을 적용할 수는 있지만, 이를 강력히 권장하지 않습니다. 그렇게 하면 사용자가 포럼 홈페이에 쉽게 접근할 수 없게 되고, 기존 사용 습관을 깨뜨리게 됩니다. 대신 헤더에 메인 사이트로 연결되는 명확한 이름의 커스텀 링크를 추가하는 것은 어떨까요? 훨씬 더 직관적인 방식입니다.

---

<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: [6월 20, 2023, 3:52오전 UTC](https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984/3 "2023-06-20T03:52:20Z")

</div>

여기입니다:

> [@메인 로고 URL을 변경할 수 있나요?](https://meta.discourse.org/t/possible-to-change-main-logo-url/206918/2):
>
> I did it like this in my community, added to a theme component: \<script type="text/discourse-plugin" version="0.8"\> api.changeWidgetSetting('home-logo', 'href', 'https://mywebsite.com'); \</script\>

새 창에서 열려면:

> [@메인 로고의 URL을 변경할 수 있나요?](https://meta.discourse.org/t/can-i-change-the-url-of-the-main-logo/186127/6?u=lillinator):
>
> This takes a little more customization because it’s prevented in the home-logo widget here: So you’d have to use changeWidgetSetting to set the URL, and then reopenWidget to add \_blank and override the default click behavior that prevents it from opening in a new window. \<script type="text/discourse-plugin" version="0.8"\> const { h } = require("virtual-dom"); api.changeWidgetSetting('home-logo', 'href', 'https://discourse.org'); api.reopenWidget("home-logo", { html() { re…

처음에는 이렇게 했었지만, 네비게이션 메뉴의 전역 사용자 정의 링크 섹션이 추가될 때까지는 헤더 아이콘을 사용하는 쪽으로 결정했습니다. 그 후에는 해당 섹션에 넣었습니다. 위 스크린샷에서 확인할 수 있습니다.

위젯은 향후 점진적으로 단계적으로 폐지되고 에임버(Ember) 컴포넌트로 대체될 예정이지만, 아직 에임버 JS를 사용하여 이를 수행하는 방법을 알지 못합니다.

---

<div class="post-metadata">

### Author: ![mdoggydog](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@mdoggydog](https://meta.discourse.org/u/mdoggydog)
#### Post date: [9월 3, 2024, 6:23오후 UTC](https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984/4 "2024-09-03T18:23:52Z")

</div>

이 작업을 수행하는 방법을 검색하다가 이 주제를 발견한 다른 분들을 위해, 이 로고 URL을 수정하는 최신 방법은 [Upcoming Header Changes - Preparing Themes and Plugins](https://meta.discourse.org/t/upcoming-header-changes-preparing-themes-and-plugins/296544) (아래 부분의 `home-logo`를 찾아보세요)에서 구체적으로 다루고 있습니다. 또한, 이를 처리하는 공식 테마 컴포넌트도 이제 있습니다:

> [@사용자 지정 로고 링크](https://meta.discourse.org/t/custom-logo-link/316531):
>
> discourse2요약 Custom Logo Link를 사용하면 관리자가 데스크톱/모바일 및 익명/로그인 사용자를 위한 로고 링크를 설정할 수 있습니다.eyeglasses미리보기 [Discourse Theme Creator에서 미리보기](https://discourse.theme-creator.io/theme/Discourse/custom-logo-link)hammer_and_wrench레포지토리 링크 [https://github.com/discourse/discourse-custom-logo-link](https://github.com/discourse/discourse-custom-logo-link)open_bookDiscourse 테마가 처음이신가요? [Discourse 테마 사용 입문가이드](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) 이 테마 컴포넌트 설치 기능 이 컴포넌트는 로고 링크를 재정의할 수 있습니다. 설정 이름 설명 예시 desktop\_url 데스크톱에서 익명 사용자를 위한 링크 https://www.example.com mobile\_url 모바일에서 익명 사용자를 위한 링크 https://www.example.com?origin=mobile lo…

---

<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: [10월 3, 2024, 6:24오후 UTC](https://meta.discourse.org/t/make-logo-a-link-to-main-website-homepage/268984/5 "2024-10-03T18:24:43Z")

</div>

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