tencent cloud

Feedback

Custom Error Page

Last updated: 2022-08-01 15:53:56

    Overview

    If an error status code is specified for origin server response, status code 302 will be returned, and the custom page will be redirected to.

    Note:

    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 IP blocklist/allowlist configuration and token authentication.

    Directions

    1. Log in to the EdgeOne console and click Rule engine on the left sidebar.
    2. On the rule engine page, select the target site and click to create and configure custom error page rules as needed.
      Note:

      Currently, you can configure and customize error page rules only if the match condition is All (any request) or Host.

    Parameter description:

    Configuration Item Description
    Status code It specifies the error status code returned by the origin server:
    • 4XX: 400, 403, 404, 405, 414, 416, 451
    • 5XX: 500, 501, 502, 503, 504
    Page address It specifies the error page address, such as http://www.example.com/custom-page.html
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support