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

    I got friendly URLs working on IIS following this article: http://forums.modx.com/thread/17245/modx-on-iis7
    However, custom error pages still do not work. If I type a wrong URL, I get the default 404 error page, rather than my pretty error page.

    I did configure the error_page id in the modx System Settings.
    Also, I tried setting the customErrors element in the web.config, but it had no effect:

    		<customErrors mode="RemoteOnly" defaultRedirect="error.html">
    			<error statusCode="403" redirect="error.html"/>
    			<error statusCode="404" redirect="error.html"/>
    		</customErrors>


    Any ideas?

    Thanks.