# URLs with encoding are altered when using Discourse link function

**URL:** https://meta.discourse.org/t/urls-with-encoding-are-altered-when-using-discourse-link-function/400694
**Category:** Support
**Created:** [April 15, 2026, 1:11pm UTC](https://meta.discourse.org/t/urls-with-encoding-are-altered-when-using-discourse-link-function/400694 "2026-04-15T13:11:11Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Rubi](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@Rubi](https://meta.discourse.org/u/Rubi)
#### Post date: [April 15, 2026, 1:11pm UTC](https://meta.discourse.org/t/urls-with-encoding-are-altered-when-using-discourse-link-function/400694/1 "2026-04-15T13:11:12Z")

</div>

I searched here and thought that this issue had been resolved.

However, we have a user on our site reporting the following:

Do this:

- open that (working) link (no 404)

- copy link from location bar (Ctrl-L, then Ctrl-C)

- click the link icon in the discourse editor

- paste URL

- save reply

- click the link → 404

This is the relevant link that was used:

```plaintext
https://openzfs.github.io/openzfs-docs/Project%20and%20Community/FAQ.html#using-a-zvol-for-a-swap-device-on-linux

```

Apparently, even though the link has encoding, Discourse encodes it again leading to a 404?

Thanks for any help and workarounds.

---

_[View the full topic](https://meta.discourse.org/t/urls-with-encoding-are-altered-when-using-discourse-link-function/400694)._
