Redirect bad request urls to general error page

What is the best way to direct 400 bad request urls ( www.domain.com/df> ) to ErrorPageResolver/PageNotFoundResolver?
or how should we handle this, so that it shows a custom page?

Litium version: 7.3.1-patch-1911150957

When you get Bad Request it does mean you are not allowed to enter the application therefor you can not do anything inside the application with routing.
If you need to do something then you need to do this from IIS, like create a static page and redirect to that on errors or something, you can google that and search for some solution maybe.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.