Thank you for your reply. I tried: ^/人体穴位蛙.html /w/新页面 permanent; But it did not work. ( I did not covert the file to ASCII mode, It is UTF8) My nginx configuration file was saved in UTF8 encoding. The name of the old page file is a unescaped form of "人体穴位图.html" in GBK encoding. I converted my old website system from GBK encoding to a new UTF8 encoding oby ohjyops - Nginx Mailing List - English
I want to rewrite an old page to a new location, I use this code: rewrite ^/%C8%CB%CC%E5%D1%A8%CE%BB%CD%BC.html /w/新页面 permanent; But it does not work. I still can open the old page from http://mysite.com/%C8%CB%CC%E5%D1%A8%CE%BB%CD%BC.html, not being redirected to the new location. Can you help me correct my rewriting code? Thanks.by ohjyops - Nginx Mailing List - English