Ensure url as base url.