We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 50188
    • 3 Posts
    Hello everyone,
    I'm having my brain twisted with incorrectly displaying error page: the page has been created, its ID configured in MODX settings.
    When I request a page that doesn't exist I get my custom error page, but with '301 moved permanently' header.
    Evolution 1.0.10

    Any way to make MODX return a proper '404 not found' header? Thanks for any help
      • 50188
      • 3 Posts
      Apparently my case is quite rare; Google finds nothing in this topic too...
      Still looking for a solution.

      Perhaps a custom plugin called upon 'onpagenotfound' could do the job? What can I write there to send a proper 404 header and then redirect to 'not found' page?