including query string to redirects