change tag url to code