Transform base url to an absoulte url.