有什么办法可以禁用在 URL 末尾添加数字吗?
正如您从下面的链接中看到的,/2527 被添加到了 URL 的末尾
https://gametalk.tv/t/jdm-japanese-drift-master-official-honda-announcement-teaser-trailer/2527
有什么办法可以禁用在 URL 末尾添加数字吗?
正如您从下面的链接中看到的,/2527 被添加到了 URL 的末尾
https://gametalk.tv/t/jdm-japanese-drift-master-official-honda-announcement-teaser-trailer/2527
我不这么认为。您想解决什么问题?
URL 中主题 ID 的优点是,当您编辑标题时,所有指向该主题的链接仍然可以正常工作。因此,https://meta.discourse.org/t/appended-number-in-topic/374980 会将您带到与 https://meta.discourse.org/t/a-different-title/374980 或 https://meta.discourse.org/t/-/374980 相同的主题。这对于 https://meta.discourse.org/t/appended-number-in-topic 将不起作用。当您编辑标题时,该链接将失效。
嗯……不是。这是该主题的 ID。这有什么问题吗?YouTube 也有类似的系统。