Rewrite URL to only show value of $_GET argument

edogawaconan me at
Mon Sep 9 08:57:12 UTC 2013

On Mon, Sep 9, 2013 at 3:58 PM, mex <nginx-forum at> wrote:
>> rewrite ^/index\.php?title=(.*)$$1 redirect;
> this doesnt work? what is $1 then in the redirected request?

of course this won't work. Query string isn't part of rewrite matching string.

Use $arg_title instead.

O< ascii ribbon campaign - stop html mail -

More information about the nginx mailing list