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

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.

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
actual text: https://meta.discourse.org/t/configure-tag-color/93372

alternate version of the same way:

link: Configure tag color
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
actual text: [Configure tag color](/t/configure-tag-color/93372)

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

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)

Sorry, I don’t understand your question?

Updated OP. I hope it’s clearer now.

Because absolute links are better for :mountain: of reasons.

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

4 Likes

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!)

More discourse trickery! :astonished:

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