Copied to clipboard

Flag this post as spam?

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


  • Herman 20 posts 141 karma points
    Jul 10, 2014 @ 17:16
    Herman
    0

    Multiple Errorpages in Umbraco 7, Multilang site

    I have a site with 5 languages and each language has a errorpage.

    Web.config:

        <httpErrors existingResponse="PassThrough" />
      </system.webServer>
    

    umbracoSettings.config

      <error404>
        <errorPage culture="default">1329</errorPage>
    
        <errorPage culture="en-US">1329</errorPage>
        <errorPage culture="sv-SE">1069</errorPage>
        <errorPage culture="es">1386</errorPage>
        <errorPage culture="no">2396</errorPage>
        <errorPage culture="da-DK">2649</errorPage>
      </error404>
    

    All sites redirects to the Swedish node 1069

    If i remove the Swedish node the sites redirects to the English node. I've tryed to remove the default node but without any change.

    Umbraco version 7.1.4

    Thanks in advance, Herman

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jul 11, 2014 @ 11:08
    Jan Skovgaard
    0

    Hi Herman

    What version of IIS are you using?

    What does this setting in the /config/umbracoSettings.config say?

    <web.routing trySkipIisCustomErrors="false"></web.routing>
    

    It should be set to true if you're using IIS 7.5+ I think.

    /Jan

  • Herman 20 posts 141 karma points
    Jul 11, 2014 @ 11:13
    Herman
    0

    Hi, IIS 8.0.9200

    I tryed to set it to true but it didnt help

  • Herman 20 posts 141 karma points
    Oct 30, 2014 @ 13:14
    Herman
    100

    Problem solved, each language needs to have a domain connected. When I wrote this post the url structure were like this: http://example.com/no http://example.com/en http://example.com/dk http://example.com/es

    Now each language has a domain connected and it works like a charm.

Please Sign in or register to post replies

Write your reply to:

Draft