# Improvements to URLs in custom user fields when they link to the forum domain

**URL:** https://meta.discourse.org/t/improvements-to-urls-in-custom-user-fields-when-they-link-to-the-forum-domain/37291
**Category:** Feature
**Created:** [31 בדצמבר,‏ 2015,‏ 1:18am UTC](https://meta.discourse.org/t/improvements-to-urls-in-custom-user-fields-when-they-link-to-the-forum-domain/37291 "2015-12-31T01:18:17Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [31 בדצמבר,‏ 2015,‏ 1:18am UTC](https://meta.discourse.org/t/improvements-to-urls-in-custom-user-fields-when-they-link-to-the-forum-domain/37291/1 "2015-12-31T01:18:17Z")

</div>

So, every goat farmer in our forum is allowed to create their own personal topic where they share their company news.

I created a custom user field where they can put a URL to such a topic. However, it is not clickable.

In [this topic](https://meta.discourse.org/t/how-to-turn-website-url-on-user-profile-into-a-link/26687) I read why links are not clickable by default. However, when linked to the same domain where the forum runs, it should not be dangerous.

I propose a few ideas on how to improve links behaviour, choose one or many:

1. Make all links in custom user fields, as well as in user profile description, clickable, if the domain matches the forum domain.

2. Add a domains whitelist into settings and make all links containing the domain clickable in user profile and custom user fields

3. If a custom user field (or website url standard user field) contains only a link, and it is a topic or a message link, display the topic title instead and make it clickable.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [31 בדצמבר,‏ 2015,‏ 2:59pm UTC](https://meta.discourse.org/t/improvements-to-urls-in-custom-user-fields-when-they-link-to-the-forum-domain/37291/2 "2015-12-31T14:59:38Z")

</div>

Sounds reasonable, but it’s still very niche. You have some programmer chops, so maybe you’d be able to make a plugin for this? You could ask for help in the Dev category when necessary.

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [1 בינואר,‏ 2016,‏ 1:31am UTC](https://meta.discourse.org/t/improvements-to-urls-in-custom-user-fields-when-they-link-to-the-forum-domain/37291/3 "2016-01-01T01:31:14Z")

</div>

> [@erlend\_sh](#):
>
> You have some programmer chops, so maybe you’d be able to make a plugin for this?

I tried once and it looks as if Ruby and Ember are not my friends at all. So I don’t code for Discourse, unfortunately. However, I gladly do other things, e.g. translating to Russian, reporting bugs and actively participating in meta.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [19 במרץ,‏ 2016,‏ 5:22pm UTC](https://meta.discourse.org/t/improvements-to-urls-in-custom-user-fields-when-they-link-to-the-forum-domain/37291/4 "2016-03-19T17:22:44Z")

</div>

We now have a howto for this:

> [@(Retired) Use an ID in a custom user field to link to a user's external profile](https://meta.discourse.org/t/link-custom-user-field-to-external-website/41218):
>
> Let’s say you want to add a link of User’s main profile page on Discourse user profile page and user card, clicking on that link will take user to main (external) website. The link of main website user profile page will be like: http://myawesomewebsite.com/user/USER\_PROFILE\_ID Let’s get started! Create a custom user field Let’s create a user field with name User Profile. Make sure “Show on public profile?” option is enabled. The above field will store external user profile IDs. A…

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [4 בדצמבר,‏ 2025,‏ 11:37am UTC](https://meta.discourse.org/t/improvements-to-urls-in-custom-user-fields-when-they-link-to-the-forum-domain/37291/5 "2025-12-04T11:37:12Z")

</div>


