# Redirect / for non-logged in users?

**URL:** https://meta.discourse.org/t/redirect-for-non-logged-in-users/33500
**Category:** Feature
**Created:** [September 20, 2015, 5:28pm UTC](https://meta.discourse.org/t/redirect-for-non-logged-in-users/33500 "2015-09-20T17:28:33Z")
**Posts on this page:** 1
**Showing post:** 31

<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: [May 9, 2016, 11:10pm UTC](https://meta.discourse.org/t/redirect-for-non-logged-in-users/33500/31 "2016-05-09T23:10:32Z")

</div>

Should this work?

```html
<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/redirect-for-non-logged-in-users/33500)._
