Clean-up $url query before redirect.