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?
Site mixed with multidomains
Re: Site mixed with multidomains
Only if you type that URL in browser, nobody is going to try and guess URLs...
Re: Site mixed with multidomains
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?
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?
Re: Site mixed with multidomains
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}
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}
Re: Site mixed with multidomains
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?
The canonical stuff is alredy set..
The page is brand new, and there is no Site linking to it.
Any other suggestions?
Re: Site mixed with multidomains
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.
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.
Re: Site mixed with multidomains
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.
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.