Customizing Error Pages
We recommend creating custom for your error pages (HTTP codes 404, 500, etc.). To do this, the function can be configure at different levels.
Web server
Application
Here is a non-exhaustive list to be consulted depending on your application:
- CakePHP,
- Django,
- Express.js,
- Flask,
- Laravel,
- Macaron,
- Phoenix,
- Sinatra: see Error Handling paragraph,
- Symfony.
Tips
- Check the traffic on these pages: if you observe a serious increase in the number of visits to your error pages then you may more easily find the origin of the problem.
- Display links to other pages so that a visitor can continue their browsing.
- Implement a contact form so that it is possible to get in touch with you if necessary.