Question: how to import a gpx file into strava?
Answer:  Upload the GPX file manually (as if it was a ride you've done)  Select private when saving.  Open the ride, on the "spanner" menu select "Create Route" this will load the route into the route editor.  Save the route.