Add optional from query string to redirect location