Copied to clipboard

Flag this post as spam?

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


  • Sam 63 posts 126 karma points
    Sep 09, 2011 @ 12:27
    Sam
    0

    404 page for dual language website

    Hi all,

    I have an issue having my 404 pages working correctly. I have a multi language websites (english and french) with this structure below 

    Content
      en
        page 1 
        page 2
        etc...
        error404
      fr
        page 1
        page 2 etc...
        erreur404

    For now i have just configure the umbraco config to take id of error 404 page...but I know it will not work in this configuration..

    When in en version get mywebsite/en/error404.aspx and when in fr version get mywebsite/fr/erreur404.aspx

    How can i implement a custon 404 handler to work.
    A detail explanation is welcome.

    Thks
    //Sam.

     

     

  • Euan Rae 105 posts 134 karma points
    Sep 09, 2011 @ 12:37
    Euan Rae
    0

    This post should point you in the rigt direction

    http://our.umbraco.org/wiki/how-tos/how-to-implement-your-own-404-handler

    In your 404 handler you can determine which site you're on and redirect accordingly

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies