Redirect 301 in Nginx (images and dynamic pages)
location = /downs/pafiledb.php { if ($arg_action = download) { return 301 http://www.newsite.com/downloads/$arg_id; }}location /images/ { return 301 http://www.newsite.com$request_uri;}