Changing url to baseurl