redirect can take a hash of queries