Apache redirect 301 with non-english characters

I have a lot of http redirects in my .htaccess file because I'd like to keep links from my old blog alive. Today I found that this redirect works:

redirect 301 /blog/2007/08/15/InMemoriamLorkis.aspx https://mihail.stoynov.com/2007/08/15/in-memoriam-lorkis/

And that this doesn't:

redirect 301 /blog/2007/08/17/%d0%9b%d0%be%d1%80%d0%b0.aspx https://mihail.stoynov.com/2007/08/17/%d0%bb%d0%be%d1%80%d0%b0/

It should look like this:

redirect 301 "/blog/2007/08/17/Лора.aspx" "https://mihail.stoynov.com/2007/08/17/лора/"

Leave a Reply

Your email address will not be published.

Notify me of followup comments via e-mail. You can also subscribe without commenting.

This site uses Akismet to reduce spam. Learn how your comment data is processed.