Edit Error Pages
Before defining a custom error page in your Cloudflare account, you will need to design and code that page. It can be hosted on your own web server or using a Cloudflare product like Snippets.
When designing your custom error page, you can include page-specific custom error tokens. Each custom error token provides diagnostic information that appears on the error page.
To display a custom page for each error, create a separate page per error. For example, to create a custom error page for both IP/Country Block and WAF block, you must design and publish two separate pages.
You can use the following template to start building your error page:
<html> <head></head> <body> ::[REPLACE WITH CUSTOM ERROR TOKEN NAME]:: </body></html>