My past experience with UA has been that, when travel deviations occured due to either weather or operational reasons, I was always credited with miles according to my orginal ticketed itinerary. But I did fly all the way from Point A to B, so not sure about credit when one leg of your trip was by ground transport.