There is one Website for the main company translated in two languages:main-company.com/en/main-company.com/de/The company also has a subsidiary, linked under:main-company.com/en/subsidiary.htmlmain-company.com/de/subsidiary.htmlNow you can access the subsidiary with its on domainname pointing to the same root and redirected with .htacess to subsidiary.html in both languages:subsidiary.com/en/subsidiary.htmlsubsidiary.com/de/subsidiary.htmlAccessing the site with the domain subsidiary.com makes you browse the entire site under the domainname subsidiary.com.The question is:How do I set the proper hreflang tags for google?Do I have to set the hreflang tag for both domainnames like this in each page?<link rel=alternate hreflang=de href=http://main-company.com/de/subsidiary.html /><link rel=alternate hreflang=en href=http://main-company.com/en/subsidiary.html /><link rel=alternate hreflang=de href=http://subsidiary.com/de/subsidiary.html /><link rel=alternate hreflang=en href=http://subsidiary.com/en/subsidiary.html />or is it a problem to set the hreflang tags twice for de and en with different domainnames?Thanks :-)
Setting proper hreflang tags for google
google;hreflang