# Help us test the new header code!

**URL:** <https://meta.discourse.org/t/help-us-test-the-new-header-code/43184>\
**Category:** Feature\
**Tags:** performance\
**Created:** [4월 25, 2016, 3:26오후 UTC](https://meta.discourse.org/t/help-us-test-the-new-header-code/43184 "2016-04-25T15:26:24Z")\
**Posts on this page:** 1\
**Showing post:** 69

<div class="post-metadata">

**Author:** ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Post date:** [5월 11, 2016, 12:01오전 UTC](https://meta.discourse.org/t/help-us-test-the-new-header-code/43184/69 "2016-05-11T00:01:30Z")

</div>

> [@eviltrout](#):
>
> If you checkout the latest version of Discourse you can now add links to the general section

Currently this doesn’t work for domains different to the Discourse install.

So for a setup where:

- Discourse is installed at: `http://discourse.example.com/`
- And the blog / homepage is at: `http://www.example.com/`

Using this code to add a non-Discourse instance domain link:

```html
<script type="text/discourse-plugin" version="0.4">
  api.decorateWidget('hamburger-menu:generalLinks', () => {
    return { href: 'http://www.example.com/sample-page/', rawLabel: 'Example' };
  });
</script>

```

Links to (when clicked): `http://discourse.example.com/sample-page/`  
instead of: `http://www.example.com/sample-page/`

The HTML is correct, so I’m guessing the click handler does something funky.  
 ![](https://global.discourse-cdn.com/meta/original/3X/5/2/5207c765538cc3880e0444a3b568064cd15f61c9.png)

EDIT: Thank you so much for adding this! :fonzie:

EDIT #2: I attempted to add permalinks to the Discourse instance to work around this and redirect to the correct external link. This however didn’t work it appears permalinks are not followed by the menu links, however permalinks are followed when the link appears in post content.

---

_[View the full topic](https://meta.discourse.org/t/help-us-test-the-new-header-code/43184)._
