I whould like this simple rewrite rule:
/somefolder/mypage.aspx?myid=4343&tab=overview
to be redirected to:
/folder/4343/overview/
I looked for some solutions and none actually worked..
I tried:
rewrite ^/somefolder/mypage.aspx?myid=(.*)&tab=overview$ /folder/$1/overview permanent;
and
rewrite ^/somefolder/mypage\.aspx\?myid=(.*)&tab=overview$ /folder/$1/overview permanent;
What am I doing wrong? I'm getting 404
(simpler rules works just fine..)
Thanks