I am looking at redirecting urls with paramaters into directories with files that are named with the param with the nginx redirect module.
eg redirect http://mydomain.com/beep?page=3
to
http://mydomain.com/redirect/pages/3.json
I have tried several times but have failed miserably...