# How to add%{post\_url} in customize URL

**URL:** <https://meta.discourse.org/t/how-to-add-post-url-in-customize-url/176935>\
**Category:** Product Support\
**Created:** [January 22, 2021, 12:24pm UTC](https://meta.discourse.org/t/how-to-add-post-url-in-customize-url/176935 "2021-01-22T12:24:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [January 22, 2021, 4:46pm UTC](https://meta.discourse.org/t/how-to-add-post-url-in-customize-url/176935/2 "2021-01-22T16:46:22Z")

</div>

> [@McFlyPartages](#):
>
> Basically I would like to click on a url which open a new subject in a category with in the body of the message the url of the current post.

It sounds like you are trying to achieve something similar to the Discourse “Reply as linked topic” functionality. Users can do that by selecting that option from the composer’s reply-options menu:

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/a/8a49d7ce39985b2b186df2390a54ac7ea530bbe4.png)

You could also achieve that by using the compose topic via URL method that you have linked to. To get that to work, you will need to urlencode the topic’s URL before adding it to the `body` section of the URL. For example, if you wanted to create a link that added this topic’s URL (`https://meta.discourse.org/t/how-to-add-post-url-in-customize-url/176935`) to the body of a new topic, you would need to urlencode it to `https%3A%2F%2Fmeta.discourse.org%2Ft%2Fhow-to-add-post-url-in-customize-url%2F176935` before adding it to the URL’s `body` section.

If you use that method, you will probably find that you need to URL encode the other parts of the URL to remove any spaces in it’s title. Otherwise it will not create a clickable URL.

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-post-url-in-customize-url/176935)._
