Discourse Meta
关于友好网址和非拉丁字符
产品支持
seo
the220hq
(Quynh H Nguyen)
2023 年10 月 22 日 01:34
6
经过一番尝试,我发现:
切勿更改 ascii_generator。这会导致 discourse 编译模板/主题/CSS 错误。
仅使用 encoded_generator,并可能将其硬编码为你的区域设置,保持系统默认区域设置(英语)。
在 .yml 中添加 slug.rb 的更改代码,以便每次重建应用程序时都能自定义 slug.rb。
祝你有美好的一天!
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
Greek language URL transliteration
Product Support
9
1346
2019 年4 月 22 日
Transliteration in topic URL
Product Support
4
743
2019 年4 月 29 日
Please replace German umlauts in URLs with their respective digraphs
Feature
translation
9
9251
2015 年3 月 1 日
UTF-8 slugs for categories
Feature
4
1515
2024 年2 月 13 日
Force Lowercase slug URLs when set to "encoded"
Product Support
22
4754
2016 年6 月 20 日