You can configure the custom error page, and redirect requests with the specified status code to the specified URL.
Currently supported status codes are as follows:
- This feature may be unavailable on some platforms. We will complete the server upgrade as soon as possible.
- This feature is only for redirecting requests encountered status codes during origin-pull, but not applicable to requests with status codes returned by any access control features such as the UA blocklist/allowlist configuration.
Log in to the CDN console, select Domain Management on the left sidebar, click Manage on the right of a domain name to enter its configuration page, and switch to the Advanced Configuration tab to find the Custom Error Page Configuration section.
The custom error page configuration is disabled by default.
You can click Add Rule to add custom error page rules as needed.