Removing the base url from the url parameter