make permalinks and geolocation work together

well, hopefully. #10