setting base url in head