Renamed splitUrl to parseUrl