# Customized header link target attribute being ignored

**URL:** <https://meta.discourse.org/t/customized-header-link-target-attribute-being-ignored/57380>\
**Category:** Product Support\
**Created:** [14 Febbraio 2017, 7:28pm UTC](https://meta.discourse.org/t/customized-header-link-target-attribute-being-ignored/57380 "2017-02-14T19:28:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![greg\_r](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/greg_r/32/121203_2.png) [@greg\_r](https://meta.discourse.org/u/greg_r)\
**Post date:** [14 Febbraio 2017, 7:28pm UTC](https://meta.discourse.org/t/customized-header-link-target-attribute-being-ignored/57380/1 "2017-02-14T19:28:02Z")

</div>

I’ve tried a few dozen searches and can’t find an answer to this question so hopefully I haven’t just done a really poor job of searching.

I have customized the header of my Discourse install with a link to another site. That site is on the same domain but different sub-domain (so [blog.example.com](http://blog.example.com) vs [forum.example.com](http://forum.example.com)). I want the link to open in a new tab but no matter what I do it opens in the same tab. If I view the source of the page I can see that the target=“\_blank” is set on the link but it is being ignored. Is there something in Discourse that it overriding the default HTML link behavior? If so, can it be disabled?

I’ve read several topics about the “open external urls” setting in the Admin panel, and have already tried it with both logged in and guest users and it does not work for this link at least. I’d prefer a solution that worked even for guest users. Any help is appreciated.

Thanks

---

_[View the full topic](https://meta.discourse.org/t/customized-header-link-target-attribute-being-ignored/57380)._
