get the url after the saveType may be changed