Custom error pages

Blank 5/11/2019 10:05 - 5/11/2019 10:05
Editing Content

Page errors result in error response codes being sent along with default error pages being rendered. The source code for Kademi's default error pages are here in github:

https://github.com/Kademi/kademi-dev/tree/master/src/main/webapp/templates/apps/error

The error files are named with the error code, eg 404.html, 500.html, etc. You can override these just like you can override any other template.

For example, to create your own Not Found (404) page, create a template in your website repository at:

/theme/apps/error/404.html

The complete list of status codes can be seen here on wikipedia