We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43374
    • 39 Posts
    Is there a simple way to assign multiple Resource IDs to the "error_page" event, or create multiple "error_page" events?

    What i want to achieve to call different Resource IDs depending on a defined URL part "/us/", "/de/", "/fr/",...

    www.example.com/us/...some-url-that-is-not-available.html --> should lead to Resource ID 100
    www.example.com/de/...some-url-that-is-not-available.html --> should lead to Resource ID 101
    www.example.com/fr/...some-url-that-is-not-available.html --> should lead to Resource ID 102

    This question has been answered by Henrik Nielsen. See the first response.

    [ed. note: sh0ck23 last edited this post 13 years, 2 months ago.]
    • discuss.answer
      • 12028
      • 152 Posts
      If you are using contexts to differentiate between the different languages, you can in the context settings insert error_page and the ID too the error page.
        - A small step for mankind, so why not take two...

        Working with web production, graphic design/workflow, photo and education - but are trying to get a life in between!
        • 43374
        • 39 Posts
        Thanks for the context hint. I set up the site with "Babel" now, that did the trick.