Rewrite URL to only show value of $_GET argument
me at myconan.net
Mon Sep 9 08:57:12 UTC 2013
On Mon, Sep 9, 2013 at 3:58 PM, mex <nginx-forum at nginx.us> wrote:
>> rewrite ^/index\.php?title=(.*)$ http://www.mysite.com/$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 - www.asciiribbon.org
More information about the nginx