# 为什么 Discourse 论坛的 URL 这么长？可以缩短吗？

**URL:** <https://meta.discourse.org/t/why-are-discourse-forum-urls-so-long-possible-to-shortern/147418>\
**Category:** Feature\
**Created:** [2020 年4 月 9 日 14:13 UTC](https://meta.discourse.org/t/why-are-discourse-forum-urls-so-long-possible-to-shortern/147418 "2020-04-09T14:13:50Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

作者： ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
发布日期： [2020 年4 月 9 日 15:57 UTC](https://meta.discourse.org/t/why-are-discourse-forum-urls-so-long-possible-to-shortern/147418/10 "2020-04-09T15:57:50Z")

</div>

> [@VoskCoin](#):
>
> 分享链接时这非常有用

我同意！

也许我们应该在分享链接弹窗中自动省略 slug，或者至少提供一个选项。作为对比，YouTube 的分享链接也非常短，且不包含任何 slug 信息。这样只有分享链接保持简短，而浏览器地址栏中的默认 URL 仍保留标题信息，这对 SEO 可能也有好处。

> [@Stephen](#):
>
> 只需要在 /t/ 和 /999 之间添加一些内容即可。

~~我发誓以前确实是这样，但现在似乎不再必要：~~

 

~~[Why are Discourse forum URLs so long? Possible to shortern?](https://meta.discourse.org/t/147418)~~

编辑：显然对于同一个站点来说这是必要的！如果你现在点击它，只会显示空白页面！但对于外部链接则完全正常。所以最好还是在中间包含一个 `-`。

[https://meta.discourse.org/t/-/147418](https://meta.discourse.org/t/-/147418)

---

_[View the full topic](https://meta.discourse.org/t/why-are-discourse-forum-urls-so-long-possible-to-shortern/147418)._
