Copied to clipboard

Flag this post as spam?

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


  • MK 429 posts 906 karma points
    Jan 31, 2013 @ 11:04
    MK
    0

    404handlers custom handler

    Hi there,

    Ive implemented the following:

    http://our.umbraco.org/wiki/reference/files-and-folders/files-in-the-config-folder/404handlersconfig

    using the following class:

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

    It seems fine. However, when the secondary 404 page is executed the layout stay the same but the language dictionary calls the default language.

    thanks

    mkariti

  • MK 429 posts 906 karma points
    Feb 04, 2013 @ 06:46
    MK
    0

    Any help will be much appreciated.

    mkariti

  • Zakhar 171 posts 397 karma points
    Feb 04, 2013 @ 12:23
    Zakhar
    0

    Hi mkariti,

    your question is not clear (at least to me). What is the secondary 404 page? what's happening in your case?

  • MK 429 posts 906 karma points
    Feb 04, 2013 @ 12:28
    MK
    0

    Hi Zakhar,

    Many thanks for your reply.

    I have 2 404 pages, 1 for English and 1 for Spanish.

    When the Spanish page is executed it will get the English dictionary rather than the Spanish one.

    Why is it?

    Am I missing anything?

    Thanks

    mkariti

     

  • Zakhar 171 posts 397 karma points
    Feb 04, 2013 @ 12:51
    Zakhar
    0

    What is your languages setup in Content section? 

    Is your spanish custom 404 page under spanish node?

    Does it work fine (does the spanish dictionaly load) when you open the page? Try clicking Link to document on the properties tab? If it doesn't work the problem is probably with your content setup and has nothing to do with 404 handling.

  • MK 429 posts 906 karma points
    Feb 04, 2013 @ 12:54
    MK
    0

    Yes everything works fine.

    I have 2 main nodes - 1 for each language. For each node I configured the required hostname.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft