# Open links in new tab not working

**URL:** https://meta.discourse.org/t/open-links-in-new-tab-not-working/25620
**Category:** Bug
**Created:** [2월 24, 2015, 5:00오후 UTC](https://meta.discourse.org/t/open-links-in-new-tab-not-working/25620 "2015-02-24T17:00:05Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![lmel](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@lmel](https://meta.discourse.org/u/lmel)
#### Post date: [2월 24, 2015, 5:00오후 UTC](https://meta.discourse.org/t/open-links-in-new-tab-not-working/25620/1 "2015-02-24T17:00:05Z")

</div>

Hi,

I have selected ‘open external links in a new tab’ in preferences but it does not work.

When a link is embedded in a comment and I click on it, the link is loaded within the iframe - it does not open a new tab.

All of the anchor tags have target=“\_blank” - but still they do not open in a new tab.

Can you help?

Thanks

---

<div class="post-metadata">

### Author: ![sigurdur](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sigurdur/32/122516_2.png) [@sigurdur](https://meta.discourse.org/u/sigurdur)
#### Post date: [2월 24, 2015, 5:32오후 UTC](https://meta.discourse.org/t/open-links-in-new-tab-not-working/25620/2 "2015-02-24T17:32:08Z")

</div>

Did you refresh (press `F5`) the page after you changed your preferences?

---

<div class="post-metadata">

### Author: ![lmel](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@lmel](https://meta.discourse.org/u/lmel)
#### Post date: [2월 25, 2015, 9:06오전 UTC](https://meta.discourse.org/t/open-links-in-new-tab-not-working/25620/4 "2015-02-25T09:06:41Z")

</div>

Just saw the setting in user preferences for" Open all external links in a new tab".

This is currently defaulted to unchecked/off for new users.

Is there a way we can default this setting to checked/on for new users?

---

<div class="post-metadata">

### Author: ![iolo](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@iolo](https://meta.discourse.org/u/iolo)
#### Post date: [2월 25, 2015, 9:52오전 UTC](https://meta.discourse.org/t/open-links-in-new-tab-not-working/25620/5 "2015-02-25T09:52:05Z")

</div>

This looks like the only solution I’ve found. It would have to be applied to the `external_links_in_new_tab` field instead.

> [@Setting defaults to enable mailing list mode-Temporary Solution](https://meta.discourse.org/t/setting-defaults-to-enable-mailing-list-mode-temporary-solution/25645):
>
> Continuing the discussion from [Edit a user setting for all Discourse users](https://meta.discourse.org/t/edit-a-user-setting-for-all-discourse-users/25162): So, I did this in my forum - I sent a nice email explaining what’s up, and just did it. Then, I went ahead and set the defaults as I wanted to be checked by default - and have instructions telling people how they can change them if they want (all I did was set defaults, not lock them in place) It’s been great. Discourse is now the mailing list I’ve wanted since day one, with the most functional web-ui out there. He…

---

<div class="post-metadata">

### Author: ![ajimix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ajimix/32/121522_2.png) [@ajimix](https://meta.discourse.org/u/ajimix)
#### Post date: [9월 22, 2016, 5:15오후 UTC](https://meta.discourse.org/t/open-links-in-new-tab-not-working/25620/6 "2016-09-22T17:15:52Z")

</div>

Any news on this issue? It’s still there. It’s a bit strange that if you set a setting in your admin, it just applies for guests users and not for registered ones, registered users don’t have the option enabled on their profiles…

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [9월 22, 2016, 5:18오후 UTC](https://meta.discourse.org/t/open-links-in-new-tab-not-working/25620/7 "2016-09-22T17:18:02Z")

</div>

What? I think you have it backwards, it doesn’t and has never applied to guests. The admin setting simply lets you setup a default for new users who register. It will not update the existing setting for existing users.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [9월 22, 2016, 8:21오후 UTC](https://meta.discourse.org/t/open-links-in-new-tab-not-working/25620/8 "2016-09-22T20:21:03Z")

</div>


