remove the html extension if present from the service_url