Add custom HTML error pages
This extension allows you to customize the Flarum error pages. By default these pages have very boring HTML content with no styling and no link in beta7. Now you can change them to something that better reflects your website!
Use Bazaar or install manually:
composer require flagrow/html-errors
composer update flagrow/html-errors php flarum migrate php flarum cache:clear
Open the extension options to configure the custom HTML. Leaving a field empty will show the default Flarum error page.
The custom error pages are only applied when browsing the forum front-end. Any error response under /api or /admin is unaffected.
You can handle additional error codes by entering the values manually in the
settings table of the database.
We prefer to keep our work available to everyone. In order to do so we rely on voluntary contributions on Patreon.
If you discover a security vulnerability within Custom HTML Error Pages, please send an email to the Gravure team at firstname.lastname@example.org. All security vulnerabilities will be promptly addressed.
Please include as many details as possible. You can use
php flarum info to get the PHP, Flarum and extension versions installed.