Add all parameters to redirected urls

Slight tweak to earlier PR