Strippig out query string on redirect from base url.