replace baseurl by url