Hello, With this rule : rewrite ^/([^/])(/.*) $2?locale=$1&$query_string last; I get a 404 error when I try go on http://example.org/en/test.php instead of http://example.org/test.php?locale=en Anyone have any idea to solve the problem ? Thanks.by skyice - Nginx Mailing List - English
Ok thanks but somepage.php is just an examplle and I want this for all pages of my website :/by skyice - Nginx Mailing List - English
Hello, How can I have this : http://example.org/en/somepage.php For : http://example.org/somepage.php?locale=en ( locale=en is always present) Thanks.by skyice - Nginx Mailing List - English