Permalink not working with cyrilics symbols

In permalink URL from old site /2022/10/03/portproton-запуск-второго-приложенияигры not redirect to new discourse instance Portproton. Запуск второго приложения\игры - PortProton - LINUX-GAMING.RU

domain name in new same

2 Likes

As a workaround maybe create a second permalink for the punycode? I don’t think we do an internal translation here.

1 Like

I tried it, but it doesn’t work, the search engine gives the address in its original form with Cyrillic.

advanced info

image

The permalink works, if you input a correctly encoded URL. But the UI doesn’t make this easy. I’ll see if we can improve it a bit. I have an improvement for permalinks lined up anyway.

Here’s a workaround for now: Create a permalink for /2022/10/03/portproton-%D0%B7%D0%B0%D0%BF%D1%83%D1%81%D0%BA-%D0%B2%D1%82%D0%BE%D1%80%D0%BE%D0%B3%D0%BE-%D0%BF%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F%D0%B8%D0%B3%D1%80%D1%8B

Essentially, what you need to do is, put the last part of the URL (“portproton-запуск-второго-приложенияигры”) into a URL Encoder and use the result as permalink (/2022/10/03/<encoded URL part>).

4 Likes

Great! It’s work! Thanks!

A fix for this is included in Improve permalinks by gschlager · Pull Request #27209 · discourse/discourse · GitHub

2 Likes

This topic was automatically closed after 4 days. New replies are no longer allowed.