Parse redirect routes.