I have an old site with titles in the URL for SEO, but it has URL encoded characters than transliterated Latin characters. Like %20 instead of space character and many other non-Latin characters. The site is not in English.
I'm moving the site to a new CMS and it transliterates the titles before puttng them into URL bar (which is nice and I'm happy to have).
I'm writing 301 redirects in my .htaccess and they work if all characters of the title are in Latin (the same in both side).
How can I redirect the old encoded URLs to the new transliterated URLS using .htaccess?
RewriteRulematches against the %-decoded characters. Have you tried saving your .htaccess file in UTF-8 and typing the non-latin characters directly?