# 我们可以拥有最短的分享链接吗？

**URL:** <https://meta.discourse.org/t/can-we-have-the-shortest-possible-links-for-sharing/186933>\
**Category:** Feature\
**Created:** [2021 年4 月 15 日 09:50 UTC](https://meta.discourse.org/t/can-we-have-the-shortest-possible-links-for-sharing/186933 "2021-04-15T09:50:08Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

作者： ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
发布日期： [2021 年4 月 20 日 07:34 UTC](https://meta.discourse.org/t/can-we-have-the-shortest-possible-links-for-sharing/186933/6 "2021-04-20T07:34:40Z")

</div>

缩短 URL 时，最佳做法是使用 `-` 作为 slug：

`https://hibot.top/t/-/765432`

这样可以避免服务器需要判断 `765432` 是否可能为主题标题。

---

_[View the full topic](https://meta.discourse.org/t/can-we-have-the-shortest-possible-links-for-sharing/186933)._
