check base url