Error Pages
How to Set Up Custom Error Pages?
Sites -> Sites Settings -> Error Pages -> Add Error Page
Add Error Page Field Descriptions
Code
Currently Supported HTTP Codes: 400, 403, 429, 500, 502, 504
Type
Present Content
You can enter text and variables.
URL Redirect
Redirect to a specified URL, for example: https://example.com/403error.html
JavaScript
Example:html
<html> <body> <meta charset="UTF-8"> <title>Hello</title> <script> alert("This is error page") </script> <p> 403<br />$hostname<br />$remote_ip </p> </body> </html>
Content
Supports the following variables; the rest are set according to the type:
$hostname displays the node name accessed by the visitor.
$remote_ip displays the visitor's IP.

Last updated