json data import and legacy url redirection