Remove query params for base url