0

I have a site that uses non-latin characters in URLs, e.g. http://example.com/drupal/новости. When the URL is copy-pasted, some browsers change the URL to http://example.com/drupal/%ED%EE%E2%EE%F1%F2%E8, and this causes an Page not found error.

How do I make Drupal understand both http://example.com/drupal/новости and http://example.com/drupal/%ED%EE%E2%EE%F1%F2%E8?

3

Consider trying the Transliteration module. Here is a quote from its project page:

... it takes Unicode text and tries to represent it in US-ASCII characters (universally displayable, unaccented characters) by attempting to transliterate the pronunciation expressed by the text in some other writing system to Roman letters.

As a sample, it transforms an URL like mydomain.com/последние-новости-в-Украине-и-мире in something like mydoamin/poslednie-novosti-v-Ukraine-i-mire.

Other modules that might help to solve this question:

  • I don't want to change the existing URLs. – Indra May 17 '15 at 7:40
  • Would it be acceptable in your case to have one of both URLs be like an "alias" of the other "URL"? Similar to redirecting an "old" path of some node automatically to the "new" path of that same node? – Pierre.Vriens May 17 '15 at 8:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.