Reformat links for custom domain