I did this for setting up multilingual website. And locally this works just fine, i.e.
when I access "localhost/en", I am redirected to English homepage,
"localhost/ge" goes to georgian homepage, "localhost/ge/some-node" gives me some-node and so on.
But now I hosted my website in IIS; accessing website without "en" and "ge" parts works fine, but when I try to add language indicators, It gives me "page not found" error.
I tried changing url for each root node in umbraco backoffice via "Culture and Hostnames" but it didn't help.
Any ideas what can be reason of this? Is it IIS or Umbraco problem?
What do you mean by "changing url for each root node"? If you specify the langage in the "Culture" part and then specify hostname + language in the "Domains" section, it should normally work.
No idea about the IP address, but I guess that as long as you visit the site with the IP address it should work fine...
Two other questions that come to my mind:
In your "culture and hostname config", did you include your node name in the domain name? Because if you are configuring your node "ge" in the tree, then I think you only need to specify the IP address as domain name.
Did you try (re)publishing the nodes after your changes?
A helper could also be to see what is the foreseen URL for your node. You can check that by clicking on the node, and then checking the generic "Properties" tab. The last section in the tab is the "link to document", which is the actual URL that Umbraco will recoignize for your node. Looking at this might help you understand what is going wrong.
language urls not working in production
Hi guys,
This is structure of my website:
Georgian Homepage:
English Homepage:
I did this for setting up multilingual website. And locally this works just fine, i.e. when I access "localhost/en", I am redirected to English homepage, "localhost/ge" goes to georgian homepage, "localhost/ge/some-node" gives me some-node and so on.
But now I hosted my website in IIS; accessing website without "en" and "ge" parts works fine, but when I try to add language indicators, It gives me "page not found" error.
I tried changing url for each root node in umbraco backoffice via "Culture and Hostnames" but it didn't help.
Any ideas what can be reason of this? Is it IIS or Umbraco problem?
Regards, Sandro
Anyone? :(
Hi Sandro,
What do you mean by "changing url for each root node"? If you specify the langage in the "Culture" part and then specify hostname + language in the "Domains" section, it should normally work.
Is this what you did?
Cheers,
Michael.
Hi Michael,
Thank you for your response.
Yes, I did exactly that.
For Georgian homepage I have:
Culture -> language: ka-Ge
In domains: :publicip:/ge
English homepage is configured likewise.
Could problem be that i don't have domain name and access website by ip?
Hi Sandro,
No idea about the IP address, but I guess that as long as you visit the site with the IP address it should work fine...
Two other questions that come to my mind:
In your "culture and hostname config", did you include your node name in the domain name? Because if you are configuring your node "ge" in the tree, then I think you only need to specify the IP address as domain name.
Did you try (re)publishing the nodes after your changes?
A helper could also be to see what is the foreseen URL for your node. You can check that by clicking on the node, and then checking the generic "Properties" tab. The last section in the tab is the "link to document", which is the actual URL that Umbraco will recoignize for your node. Looking at this might help you understand what is going wrong.
Hope this helps.
Cheers,
Michaƫl.
is working on a reply...