Rebuild for new base url.