2

I am using Nginx webserver and I want to rewrite some old urls on my site to new ones inorder to prevent 404 errors. For English urls everything is OK and adding a rewrite rule like the following to the server block works fine.

rewrite ^/omid/$ /omidreza;

But when it comes to urls containing non-English characters the rule doesn`t work. Has anyone experienced the same issue? How can I fix the problem?

0 Answers0