Redirecting to Shortest path problem