Change url type to fit specification