这个有点像 301 重定向的功能。
我是感觉我重来就没有设置过。
根据官方的说法:
http://example.com/discussion/12345
, and the url for that topic after the import is http://example.com/t/we-moved/987
, then you can setup the mapping like this:
cd /var/discourse
./launcher enter app
rails c
Permalink.create(url: '/discussion/12345', topic_id: 987)
比如说这个配置:
当用户访问上面的链接的时候会自动 301 重定向到特定的分类中。
我感觉这些都是他们自己加的,主要应该是在修改了分类名称后,系统就自动在分类中间添加了一个短文字,然后重定向到新的。
感觉是这个问题不删也没啥关系。
不过,随着社区的使用时间越来越多,这部分的内容也可能越来越多。