tencent cloud


Custom Error Page

Last updated: 2023-02-22 17:28:26


    You can redirect requests to a custom error page for specific error status codes returned by the origin. The redirection is performed when a 302 is returned.


    Only status codes returned for origin-pull requests are supported.


    1. Log in to the EdgeOne console. Click Rule Engine on the left sidebar.
    2. On the page that displays, select the target site and create rules for configuring a custom error page as needed. For more information, see Overview.
      Configuration Item Description
      Status code Specifies the error status code returned by the origin:
      • 4XX: 400, 403, 404, 405, 414, 416, 451
      • 5XX: 500, 501, 502, 503, 504
      Page address Specifies the error page address, such as http://www.example.com/custom-page.html

    Configuration Sample

    The following configuration sample shows how to redirect requests to a custom error page for the 404 Not Found error:

    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