Am having some very weird issues with one of my website where i just noticed when removing the hostname to which it is related to am getting the same exact page.
When you leave main site without domain and on additional language define full domain and culture theb you have no alternative links because the page answer only for one url
It's works in v6 also (I think was some issues at 6.0.X versuins)
Set domainPrefix =false, if you have no different domain no additional action on required.
if you domain in www.mywebsite.com
-EN:Define only culture or set hostname www.mywebsite.com and culture en
-ES:Define hostname www.mywebsite.com/es and culture es
Duplicate Url with multilingual
Hi,
Am having some very weird issues with one of my website where i just noticed when removing the hostname to which it is related to am getting the same exact page.
For example i have a url like this
and if i remove the (en)
I get the same exact page but under content this node doesnt exist. Any thought what might be causing this ?
Hi Fuji
Do you have any redirects setup...some umbracoalias maybe?
/Jan
Hi Jan,
Nope no umbracoalias, do have some urlRewritting rules however.
But not all urls have this issue and both with (en) & without (en) giving me a status 200 not even 301.
Hi Fuji
Ok...what does your content structure look like? Could you post a screendump?
/Jan
Basic structure Jan,
- Content
-- En
--- somepage
--- someotherpage
But here am getting both en/somepage and /somepage with the same content. Same applies to the other culture.
Hi Fuji
What does your umbracoDomainPrefix setting look like in the /config/umbracoSettings.config file?
And what exact version of Umbraco are you using? And how about 3rd party packages? Any of those in use?
/Jan
Old version of umbraco 4.11.8 and umbraoDomainPrefix under the umbracoSettings.config file.
<useDomainPrefixes>false</useDomainPrefixes> let me try setting it to True
No 3rd party packages in used except contour but dont think contour will affect those url.
//fuji
Setting DomainPrefixes to True doesnt change anything.
I think the best way to manage multilingual web site is add hostname to specific node
Hi Fuji
Ok, but if you have a multilanguage site you need to set it to true and then add hostnames for the sites as Yakov explains above.
Hope this helps.
/Jan
Hi guys,
Thanks but i have already set those before posting this threat !! :)
Who are you threatening? :D
Ok...well, I'm afraid I'm out of ideas about what the cause of this is mate.
/Jan
I meant Issue Jan // That is so weird this one...
I know, was just joking - Hende the big smiley :)
But yup indeed weird...
/Jan
:) Need to have a look at the config file and compare with another multilingual website.
Thanks
Restore your config files to initial state and just define hostname, it's must work
Hi Yakov,
I restored a clean version of the web.config file and still not working.
Weird thing is when i removed the hostname (en) en/test.aspx (http://mywebsite.com/en/test.aspx) doesnt work which is right, but when setting the hostname i get both http://mywebsite.com/en/test.aspx & http://mywebsite.com/test.aspx working.
I somehow just notice something under my Properties tab. The Alternative Links is missing, do you think this might be causing this issue ?
Only the link to document is there.
Any suggestions ?
When you leave main site without domain and on additional language define full domain and culture theb you have no alternative links because the page answer only for one url
Hi Yakov, now i can see both when set domainPrefix to false. But somehow still getting a ghost url.
both en/somepage/ and somepage is showing up.
I also have a umbraco v6 with same issue. Is this something to do with IIS ?
It's works in v6 also (I think was some issues at 6.0.X versuins) Set domainPrefix =false, if you have no different domain no additional action on required.
if you domain in www.mywebsite.com -EN:Define only culture or set hostname www.mywebsite.com and culture en -ES:Define hostname www.mywebsite.com/es and culture es
is working on a reply...