check the base url for external files