Hey, I have one main domain, lets say domain.com and then I have my other sites in subdirectories sub.domain.com and they with otherdomain.com Google has otherdomain.com indexed fully, but it also has a duplicate listing/indexing with the site also showing up as otherdomain.domain.com Can I stop this as I'm sure it isn't helping having it indexed twice.. Thanks
I have my domain hosted in a subdirectory of 1 of my sites: sub.domain.com Google is indexing sub.domain.com and listing it in results. sub.domain.com directory has its own domain - otherdomain.com (Hosted as an add-on domain to domain.com) Google is also showing the same pages from sub.domain.com and otherdomain.com in the results - So duplicating all pages twice
It means, both the domains have same root directory? Then it is obvious that the pages under the root directory will be indexed for both the domains. You should separate the root directory for both the domains.
But the domain is hosted as an add-on domain, so it has to have its own directory in a subdirectory of the main domain, ie add-on-domain.maindomain.com The directory add-on-domain is the root directory of the other site
There is only option to prevent crawler to make duplicate entries is to separate the root folder for both the domains.