Help: My rewriting does not work.

ohjyops nginx-forum at nginx.us
Sun Sep 25 05:03:18 UTC 2011


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.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,215776,215776#msg-215776



More information about the nginx mailing list