Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sandro 7 posts 97 karma points
    Apr 10, 2017 @ 08:28
    Sandro
    0

    language urls not working in production

    Hi guys,

    This is structure of my website:

    Georgian Homepage:

    • node
    • other node
    • more nodes

    English Homepage:

    • node
    • other node
    • more nodes

    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

  • Sandro 7 posts 97 karma points
    Apr 10, 2017 @ 11:26
    Sandro
    0

    Anyone? :(

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Apr 10, 2017 @ 11:36
    Michael Latouche
    0

    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.

  • Sandro 7 posts 97 karma points
    Apr 10, 2017 @ 11:50
    Sandro
    0

    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?

  • Michael Latouche 504 posts 819 karma points MVP 4x c-trib
    Apr 10, 2017 @ 12:14
    Michael Latouche
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft