The discussion revolves around the issue of emojis in Discourse topic titles affecting the URL, which can be detrimental to SEO. joshm initially raises the concern and is told by Johani that removing emojis from URLs may not be possible, suggesting to disable them altogether.
However, joshm notices that the meta Discourse forum does not change the URL when an emoji is added to the title after the post has been created. Falco explains that using the emoji as :) instead of :slightly_smiling_face: can prevent the URL change.
joshm later finds a workaround by copying and pasting the emoji from a Unicode list, which allows it to appear in the title without affecting the URL.
The conversation escalates to involve codinghorror, sam, and techAPJ, who ultimately decide to strip emoji strings from URLs to maintain parity with other languages and avoid potential issues. A commit has been made to implement this change.
Anyway, there must be a way to add an emoji in the title, and not change the URL, since in this forum https://meta.discourse.org/ , if you add an emoji in the title, after the post has been created, the URL doesn’t change.
In my install, if I add an emoji to the title, after the post has been created, the URL does changes.
@codinghorror this is a bit of a strange inconsistency here, I don’t really mind it that much but you can work around emojis sneaking into slug now by having actual emojis in the title vs :smile: and such.
Should we strip emoji from slug unconditionally or just for non-English sites, @techAPJ worked on this last so he can do whatever you think is right here.
For parity with other languages I think we have to strip emoji strings from URLs / titles @techapj – otherwise it is a giant can of :bug:s to untangle that
The other option is to keep unicode emoji in URLs but do we really want to go there?