# Linking a post on the same forum should not contain the domain name

**URL:** https://meta.discourse.org/t/linking-a-post-on-the-same-forum-should-not-contain-the-domain-name/93827
**Category:** Support
**Created:** [3 באוגוסט,‏ 2018,‏ 5:13am UTC](https://meta.discourse.org/t/linking-a-post-on-the-same-forum-should-not-contain-the-domain-name/93827 "2018-08-03T05:13:35Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![TheBestPessimist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebestpessimist/32/247704_2.png) [@TheBestPessimist](https://meta.discourse.org/u/TheBestPessimist)
#### Post date: [3 באוגוסט,‏ 2018,‏ 5:13am UTC](https://meta.discourse.org/t/linking-a-post-on-the-same-forum-should-not-contain-the-domain-name/93827/1 "2018-08-03T05:13:35Z")

</div>

I am trying to link another thread in my current post.  
For this example, i’ll use this thread: [Configure tag color](https://meta.discourse.org/t/configure-tag-color/93372) `https://meta.discourse.org/t/configure-tag-color/93372`.

I noticed there are 2 ways in which text is transformed to a link:

### The normal _just-copy-the-whole-link_ way:

> link: [Configure tag color](https://meta.discourse.org/t/configure-tag-color/93372)  
> actual text: `https://meta.discourse.org/t/configure-tag-color/93372`

alternate version of the same way:

> link: [Configure tag color](https://meta.discourse.org/t/configure-tag-color/93372)  
> actual text: `[Configure tag color](https://meta.discourse.org/t/configure-tag-color/93372)`

which contains the website domain name (`https://meta.discourse.org`).

### And the _domain-independent_ way:

> link: [Configure tag color](https://meta.discourse.org/t/configure-tag-color/93372)  
> actual text: `[Configure tag color](/t/configure-tag-color/93372)`

which doesn’t contain `https://meta.discourse.org` in front 😲.

I consider this second way to be pretty darn cool coz it handles a possible domain name change w/o any problem.

Is there a reason why this feature is not done automatically for all linked _same forum_ topics?  
Eg: i paste `https://meta.discourse.org/t/configure-tag-color/93372` and it is automagically converted to `[Configure tag color](/t/configure-tag-color/93372)` (or is converted when i click save)

---

<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: [3 באוגוסט,‏ 2018,‏ 8:22am UTC](https://meta.discourse.org/t/linking-a-post-on-the-same-forum-should-not-contain-the-domain-name/93827/2 "2018-08-03T08:22:36Z")

</div>

Sorry, I don’t understand your question?

---

<div class="post-metadata">

### Author: ![TheBestPessimist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebestpessimist/32/247704_2.png) [@TheBestPessimist](https://meta.discourse.org/u/TheBestPessimist)
#### Post date: [3 באוגוסט,‏ 2018,‏ 8:54am UTC](https://meta.discourse.org/t/linking-a-post-on-the-same-forum-should-not-contain-the-domain-name/93827/3 "2018-08-03T08:54:28Z")

</div>

Updated OP. I hope it’s clearer now.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [3 באוגוסט,‏ 2018,‏ 9:55am UTC](https://meta.discourse.org/t/linking-a-post-on-the-same-forum-should-not-contain-the-domain-name/93827/4 "2018-08-03T09:55:39Z")

</div>

> [@TheBestPessimist](#):
>
> Is there a reason why this feature is not done automatically for all linked _same forum_ topics?

Because absolute links are better for ⛰ of reasons.

> [@TheBestPessimist](#):
>
> I consider this second way to be pretty darn cool coz it handles a possible domain name change w/o any problem.

A domain name change is a very rare event and it’s a 1-line command (`discourse remap <old> <new>`) to fix.

---

<div class="post-metadata">

### Author: ![TheBestPessimist](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thebestpessimist/32/247704_2.png) [@TheBestPessimist](https://meta.discourse.org/u/TheBestPessimist)
#### Post date: [3 באוגוסט,‏ 2018,‏ 10:09am UTC](https://meta.discourse.org/t/linking-a-post-on-the-same-forum-should-not-contain-the-domain-name/93827/5 "2018-08-03T10:09:24Z")

</div>

> [@zogstrip](#):
>
> Because absolute links are better for ⛰ of reasons.

In that case: should `admin wrench/move selected posts to a new topic` use the absolute links or shortened ones? (right now it uses shortened – this is how i found out the feature!)

> [@zogstrip](#):
>
> it’s a 1-line command ( `discourse remap <old> <new>` ) to fix.

More discourse trickery! 😲

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2 בספטמבר,‏ 2018,‏ 10:09am UTC](https://meta.discourse.org/t/linking-a-post-on-the-same-forum-should-not-contain-the-domain-name/93827/6 "2018-09-02T10:09:26Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
