# Add / at the end of the post URL

**URL:** https://meta.discourse.org/t/add-at-the-end-of-the-post-url/44664
**Category:** Support
**Created:** [May 23, 2016, 10:27am UTC](https://meta.discourse.org/t/add-at-the-end-of-the-post-url/44664 "2016-05-23T10:27:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jmamazo](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jmamazo](https://meta.discourse.org/u/jmamazo)
#### Post date: [May 23, 2016, 10:27am UTC](https://meta.discourse.org/t/add-at-the-end-of-the-post-url/44664/1 "2016-05-23T10:27:13Z")

</div>

Hello guys

Is there an easy way to add a / at the the end of discourse urls?

for example:  
change  
[https://meta.discourse.org/t/url-interceptor-massaging-the-url-in-the-post/9364](https://meta.discourse.org/t/url-interceptor-massaging-the-url-in-the-post/9364)

to  
[https://meta.discourse.org/t/url-interceptor-massaging-the-url-in-the-post/9364/](https://meta.discourse.org/t/url-interceptor-massaging-the-url-in-the-post/9364/)

Thanks

---

<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: [May 23, 2016, 10:48am UTC](https://meta.discourse.org/t/add-at-the-end-of-the-post-url/44664/2 "2016-05-23T10:48:06Z")

</div>

Sorry what purpose would that serve? Why does it matter? Why would anyone care about this? What are you trying to accomplish?

---

<div class="post-metadata">

### Author: ![jmamazo](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jmamazo](https://meta.discourse.org/u/jmamazo)
#### Post date: [May 23, 2016, 11:41am UTC](https://meta.discourse.org/t/add-at-the-end-of-the-post-url/44664/3 "2016-05-23T11:41:12Z")

</div>

I know its pretty silly, but new company policies say all urls must end with /  
bc is the “canonical” way of doing it

---

<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: [May 23, 2016, 12:02pm UTC](https://meta.discourse.org/t/add-at-the-end-of-the-post-url/44664/4 "2016-05-23T12:02:11Z")

</div>

That isn’t even _correct_ — URLs that end in / imply you are looking at a “directory” instead of a “file”:

> <https://webmasters.stackexchange.com/questions/68721/in-terms-of-seo-what-is-the-difference-between-a-url-with-and-without-a-trailin>

Since on the web you are viewing files with “content”, not a directory listing, URLs _shouldn’t_ typically end with `/`.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:45pm UTC](https://meta.discourse.org/t/add-at-the-end-of-the-post-url/44664/5 "2024-06-08T12:45:43Z")

</div>

This topic was automatically closed after 2938 days. New replies are no longer allowed.
