We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53588
    • 5 Posts
    Hi all,

    Exists any way to set up a 404 for every context of the website? We have 8 contexts with a resource named 404 but the only context on that resource works it's in the main context (.com) because is set on "System settings". Now, when you go to any random URL in a different context of the main context you see a "503 Error - Page not found" instead of 404 page.

    We use Babel and MODX Revolution 2.4.

    Thanks!

    This question has been answered by lkfranklin. See the first response.

    • discuss.answer
      • 17301
      • 932 Posts
      You should be able to set a system setting for each individual context to point to their own respective 404 pages.

      Just edit the context and create a new setting for error_page
        ■ email: [email protected] | ■ website: https://alienbuild.uk

        The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
        • 53588
        • 5 Posts
        Quote from: lkfranklin at Mar 14, 2018, 11:05 AM
        You should be able to set a system setting for each individual context to point to their own respective 404 pages.

        Just edit the context and create a new setting for error_page

        Yes, you are right, I honestly didn't even think of that, it makes sense haha, many thanks for the quick response!