I use Domain Access because my two sites have different domains and frontpages but share a lot of content. Everything seems to be working fine but except when I google search for the secondary domain the search result is the right domain but has the primary domain's title and it links to the primary domain as well.

Is anyone aware of a way to fix this?

If what I mean is not clear search for praguesociety.org and click on the first result versus accessing the domain directly.

Comments

agentrickard’s picture

Try Domain XMLSitemap to teach Google how to index the site.

01005’s picture

That was the first thing I tried. After your comment I tried some more but I don't know what I would change. Is it really about Google indexing the page wrong or is it about the page getting the wrong idea when the request comes via Google? The URL in the address bar remains the right one.

agentrickard’s picture

That may be Google doing some de-duplication. The only think I can think to check on the output side is the rel "canonical" tag in the page header, which might point to the primary domain.

01005’s picture

I still haven't solved this and I'm becoming increasingly confused. It seems to not (just) be about search engines.

Just now I've been working on a page that is only available on Domain A and not on Domain B. First time I try it's all fine. 5 minutes later I fix a typo and I enter the same URL and it takes me to Domain B instead (where the page is not accessible). Then if I change the browser it works again.

agentrickard’s picture

I enter the same URL and it takes me to Domain B instead

This module does not issue redirects for normal content, so perhaps something else is interfering.