# Adding header links post vdom upgrade

**URL:** https://meta.discourse.org/t/adding-header-links-post-vdom-upgrade/43284
**Category:** Support
**Created:** [April 26, 2016, 11:44pm UTC](https://meta.discourse.org/t/adding-header-links-post-vdom-upgrade/43284 "2016-04-26T23:44:31Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![BenRoe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benroe/32/121303_2.png) [@BenRoe](https://meta.discourse.org/u/BenRoe)
#### Post date: [July 20, 2016, 10:55pm UTC](https://meta.discourse.org/t/adding-header-links-post-vdom-upgrade/43284/15 "2016-07-20T22:55:13Z")

</div>

This is my code in the “Customize → `</head>`” section.  
The Link to an external site (not discourse site) doesn’t work.

The links should open [https://example.com/index.html](https://example.com/index.html), but it opens [https://example.com/forum/index.html](https://example.com/forum/index.html)

I found a [thread](https://meta.discourse.org/t/help-us-test-the-new-header-code/43184/43) with this bug, but it’s closed. Maybe @eviltrout can help.

```html
<script type="text/discourse-plugin" version="0.4">
api.decorateWidget('home-logo:after', helper => {
    const showExtraInfo = helper.attrs.topic;
        if(!showExtraInfo) {
            return helper.h('div#header-links', [
                helper.h('a', {
                    href:'https://example.com/index.html', 
                    text:'Tracks'
                }),
                helper.h('a.active', {
                    href:'https://example.com/forum', 
                    text:'Forum'
                })
            ]);
        }
});
</script>

```

---

_[View the full topic](https://meta.discourse.org/t/adding-header-links-post-vdom-upgrade/43284)._
