# Should linking to other topics cause the browser window to refresh?

**URL:** https://meta.discourse.org/t/should-linking-to-other-topics-cause-the-browser-window-to-refresh/48920
**Category:** Bug
**Created:** [2016 年 8 月 20 日午後 2:31 UTC](https://meta.discourse.org/t/should-linking-to-other-topics-cause-the-browser-window-to-refresh/48920 "2016-08-20T14:31:48Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jamesmarkcook](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesmarkcook/32/168563_2.png) [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)
#### Post date: [2016 年 8 月 20 日午後 2:31 UTC](https://meta.discourse.org/t/should-linking-to-other-topics-cause-the-browser-window-to-refresh/48920/1 "2016-08-20T14:31:48Z")

</div>

Title says it all.

I was expecting clicking an internal link to load in the same way as everything else, but my browser is refreshed as if visiting an external link.

**UPDATE**

It’s because I used the full path ([http://meta.discourse.com/t/sometopic](http://meta.discourse.com/t/sometopic)) rather than the relative path. However, this is how the majority of non-technical people will use links on Discourse, so my question remains.

As a side note, the full path uses one box giving a nicely formatted preview, whereas the relative path provides just the link text. What am I doing wrong?

---

<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: [2016 年 8 月 20 日午後 8:53 UTC](https://meta.discourse.org/t/should-linking-to-other-topics-cause-the-browser-window-to-refresh/48920/2 "2016-08-20T20:53:55Z")

</div>

I have no idea what you are talking about here? Can you post a link in a reply to demonstrate?

---

<div class="post-metadata">

### Author: ![jamesmarkcook](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesmarkcook/32/168563_2.png) [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)
#### Post date: [2016 年 8 月 21 日午前 10:52 UTC](https://meta.discourse.org/t/should-linking-to-other-topics-cause-the-browser-window-to-refresh/48920/3 "2016-08-21T10:52:26Z")

</div>

By clicking the first link, it refreshes the entire window, instead of just loading the topic using Ember.

> [@Creating WP native comments](https://meta.discourse.org/t/creating-wp-native-comments/47557):
>
> Has anyone worked on creating native wordpress comments from Discourse posts instead of just displaying Discourse posts separately? The reason I ask is because my theme (and I’m sure others) displays the comment count below the post image and title and it would be good to populate this with accurate data. It would also make styling easier and make the Wordpress plugin compatible with any theme from a design point of view. I’m assuming there is a good reason that the plugin works the way it do…

[https://meta.discourse.org/t/creating-wp-native-comments/47557/13](https://meta.discourse.org/t/creating-wp-native-comments/47557/13)

Using the second link, it loads the topic dynamically instead of refreshing the entire page. Is there a reason why we can’t have a preview of a topic and load it like the second link?

---

<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: [2016 年 8 月 21 日午後 8:18 UTC](https://meta.discourse.org/t/should-linking-to-other-topics-cause-the-browser-window-to-refresh/48920/4 "2016-08-21T20:18:41Z")

</div>

It is a subtle distinction, but let’s ask @eviltrout.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2016 年 8 月 22 日午後 9:24 UTC](https://meta.discourse.org/t/should-linking-to-other-topics-cause-the-browser-window-to-refresh/48920/5 "2016-08-22T21:24:53Z")

</div>

Nice catch. It was a `https` uses that I’ve fixed here:

[https://github.com/discourse/discourse/commit/b6bcfc0426f123e159935b079969216b76e1eccc](https://github.com/discourse/discourse/commit/b6bcfc0426f123e159935b079969216b76e1eccc)

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [2016 年 8 月 22 日午後 9:25 UTC](https://meta.discourse.org/t/should-linking-to-other-topics-cause-the-browser-window-to-refresh/48920/6 "2016-08-22T21:25:02Z")

</div>


