Site mixed with multidomains

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
gardapro
Forum Members
Forum Members
Posts: 53
Joined: Mon Jan 04, 2010 1:52 pm

Site mixed with multidomains

Post by gardapro »

Version: MultiDomains 1.5.2 / CMSms 1.9.4.3

I have the folowing Sitestructure:

1. Home
2. About me
2.1 more
3. DEFG
3.1 seconddomain_home
3.2 seconddomain_birds
4. HIKL
4.1 thirddomain_home
4.2 thirddomain_hello

There are 3 Domains:
ABC.com (1 and 2)
DEFG.com (3)
HIKL.com (4)

The URL HIKL.com/thirddomain_hello.html works.
But the url HIKL.com/About me/more.html wors to. This page should only be reachable by the URL ABC.com/About me/more.html How can i do this? What's wrong?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site mixed with multidomains

Post by Dr.CSS »

Only if you type that URL in browser, nobody is going to try and guess URLs...
gardapro
Forum Members
Forum Members
Posts: 53
Joined: Mon Jan 04, 2010 1:52 pm

Re: Site mixed with multidomains

Post by gardapro »

But google does...

There are diffrent URL's listed in google were no Links are going to. No paths in css ore anywhere else. For me there is no way google can find those sites, but they do.

Any suggestions haw, or what i can do against it?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Site mixed with multidomains

Post by Dr.CSS »

I find it hard to believe google is making up links, they have to be coming from some where, maybe even another site some where is linking to you using those links...

Maybe try the canonical stuff in <head>?...

{if isset($canonical)}<link rel="canonical" href="{$canonical}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
gardapro
Forum Members
Forum Members
Posts: 53
Joined: Mon Jan 04, 2010 1:52 pm

Re: Site mixed with multidomains

Post by gardapro »

Thanks for that but:
The canonical stuff is alredy set..
The page is brand new, and there is no Site linking to it.

Any other suggestions?
uniqu3

Re: Site mixed with multidomains

Post by uniqu3 »

MultiDomains module doesn't do much more but an illusion of multi domain site. Basically not much different then MleCMS module for multilingual sites.
There is a tree strcture and paths are illusonaly built on the front end.

So if Google is indexing one domain as other domain cause will be some stuff that module does not take care of.
Usually for example we have {cms_selflink dir="prev" rellink=1} in templates, as MultiDomains isn't that smart and doesn't override any core settings i assume this will also be the cause for Google indexing sites wrong.
Look in sourcecode on last page of one domain and see what it says for <link rel='next'...
I bet you will see ABC.com/some-page and this is what causes Google to index these pages as domain ABC.com, with rel='next' we tell Searchengines there is "next" page and in meta we usually have meta "follow" so Searchengine will follow that link.

In my opinion rel='next' or rel='prev' isn't of big importance especially if sitemap was submited and Searchengines became much smarter in the meanwhile so these can find pages to index even without these metatags.
Just look at news module, it will never be mentioned in next or prev links but gets indexed very well.
gardapro
Forum Members
Forum Members
Posts: 53
Joined: Mon Jan 04, 2010 1:52 pm

Re: Site mixed with multidomains

Post by gardapro »

Good idea.. I removed those entrees in the affected pages.
The weird thing is that the result of {cms_selflink dir="prev" rellink=1} was not the last visited page but a page that shouldn’t be listed. (Where does it come from?)

Let’s see what google says now.
Post Reply

Return to “Modules/Add-Ons”