add subdomains to links