Hi It seems that i can't get this rule convert it correct to Nginx rewrite rule: Redirect 301 /index.php http://www.domain.com/forum/ any ideas? i try this: location /index.php { rewrite ^(.*)$ http://www.domain.com/forum/ redirect; }