header and footer now also with replaced relative urls