Keeping the city liveable for inhabitants and efficient for tourists: the pilgrimage routes