Making changes to how the baseurl is used in the head and foot