Fix path so it hits the right url to match routes.