On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • 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
      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: lk@alienbuild.uk | ■ 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.
      • 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!