# Home logo url points to the root of the domain even in a subfolder install?

**URL:** https://meta.discourse.org/t/home-logo-url-points-to-the-root-of-the-domain-even-in-a-subfolder-install/44864
**Category:** Development
**Created:** [2016 年5 月 26 日 19:23 UTC](https://meta.discourse.org/t/home-logo-url-points-to-the-root-of-the-domain-even-in-a-subfolder-install/44864 "2016-05-26T19:23:42Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2016 年7 月 12 日 13:57 UTC](https://meta.discourse.org/t/home-logo-url-points-to-the-root-of-the-domain-even-in-a-subfolder-install/44864/3 "2016-07-12T13:57:18Z")

</div>

> [@BenRoe](#):
>
> I have the same question/problem. How to change the behavior to link to the root url and not to the Discourse Main page?

Do you want to make logo go to the main domain right?

> [@Redirect / for non-logged in users?](https://meta.discourse.org/t/redirect-for-non-logged-in-users/33500/31):
>
> Should this work? \<script type="text/discourse-plugin" version="0.4"\> api.changeWidgetSetting('home-logo', 'href', function() { return 'https://example.com.br'; }); \</script\> EDIT: Setting it to ‘/another/page’ when using Discourse under ‘/forum’ also breaks sadpanda.

---

_[View the full topic](https://meta.discourse.org/t/home-logo-url-points-to-the-root-of-the-domain-even-in-a-subfolder-install/44864)._
