Skip to content

Commit dd24c2c

Browse files
authored
[Rules, WAF] Clarify Error Pages (#22101)
1 parent 4e872f1 commit dd24c2c

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

src/content/docs/rules/custom-errors/edit-error-pages.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To display a custom page for each error, create a separate page per error. For e
2222

2323
:::
2424

25-
You can use the following custom error template to start building your page:
25+
You can use the following template to start building your error page:
2626

2727
```html
2828
<html>
@@ -33,9 +33,9 @@ You can use the following custom error template to start building your page:
3333
</html>
3434
```
3535

36-
<Details header="Example Custom Page for 5XX errors">
36+
<Details header="Example error page for 5XX errors">
3737

38-
The following HTML code is an example Custom Page for 5XX errors without styling:
38+
The following HTML code is an example error page for 5XX errors without styling:
3939

4040
```html
4141
<!doctype html>

src/content/docs/rules/custom-errors/reference/error-tokens.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ head:
1212

1313
Each custom error token provides diagnostic information or specific functionality that appears on the error page. Certain error pages require a page-specific custom error token.
1414

15-
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 **Interactive Challenge**, you must design and publish two separate pages.
15+
To display a custom page for each error, create a separate page per error. For example, to create an error page for both **IP/Country Block** and **Interactive Challenge**, you must design and publish two separate pages.
1616

17-
The following custom error tokens are required by their respective custom error pages:
17+
The following custom error tokens are required by their respective error pages:
1818

1919
| Token | Required for |
2020
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |

src/content/docs/support/troubleshooting/http-status-codes/cloudflare-1xxx-errors.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ The errors covered in this document may occur when accessing a website proxied b
1111

1212
HTTP errors such as `409`, `530`, `403`, and `429` are returned in the HTTP status header of a response, while 1XXX errors appear in the HTML body of the response.
1313

14-
:::note[Custom Error Pages]
15-
Cloudflare [Custom Errors](/rules/custom-errors/) allows customers to customize the default error pages discussed in this article.
14+
:::note[Customize error pages]
15+
Refer to [Custom Errors](/rules/custom-errors/) for instructions on customizing the default error pages discussed in this article.
1616
:::
1717

1818
### Support and assistance

src/content/docs/waf/reference/legacy/old-rate-limiting/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ For more information on challenge actions, refer to [Cloudflare challenges](/fun
134134

135135
Setting a timeout shorter than the threshold causes the API to automatically increase the timeout to equal the threshold.
136136

137-
Visitors hitting a rate limit receive a default HTML page if a [custom error page](/rules/custom-errors/) is not specified. In addition, Business and Enterprise customers can specify a response in the rule itself. Refer to [Configure Advanced Response](#task-3-configure-advanced-response-only-business-and-enterprise-plans) for details.
137+
Visitors hitting a rate limit receive a default HTML page if a custom [error page](/rules/custom-errors/) is not specified. In addition, Business and Enterprise customers can specify a response in the rule itself. Refer to [Configure Advanced Response](#task-3-configure-advanced-response-only-business-and-enterprise-plans) for details.
138138

139139
---
140140

src/content/docs/waf/reference/migration-guides/firewall-rules-to-custom-rules.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,16 @@ Custom block response configurations will not be returned by the Firewall Rules
4343

4444
### Different error page for blocked requests
4545

46-
Requests blocked by a firewall rule with a _Block_ action would get a Cloudflare [1020 error code](/support/troubleshooting/http-status-codes/cloudflare-1xxx-errors/#error-1020-access-denied) response. Cloudflare users could customize this error page in **Custom Pages** > **1000 Class Errors**.
46+
Requests blocked by a firewall rule with a _Block_ action would get a Cloudflare [1020 error code](/support/troubleshooting/http-status-codes/cloudflare-1xxx-errors/#error-1020-access-denied) response. Cloudflare users could customize this error page for a zone in **Error Pages** > **1000 class errors**.
4747

4848
Requests blocked by a WAF custom rule will get a different response: the WAF block response. To customize the default block response, you can either:
4949

50-
- Define a custom WAF block response for your entire zone in [**Custom Pages**](https://dash.cloudflare.com/?to=/:account/:zone/custom-pages) > **WAF Block**. This custom page will always have an HTML content type.
50+
- Define a custom WAF block response for your entire zone in [**Error Pages**](https://dash.cloudflare.com/?to=/:account/:zone/error-pages) > **WAF block**. This error page will always have an HTML content type.
5151
- [Define a custom response](/waf/custom-rules/create-dashboard/#configure-a-custom-response-for-blocked-requests) for requests blocked by a specific WAF custom rule. This custom response supports other content types besides HTML.
5252

53-
If you have customized your 1xxx error page in Custom Pages for requests blocked by firewall rules, you will need to create a new response page for blocked requests using one of the above methods.
53+
If you have customized your 1XXX error page in Error Pages for requests blocked by firewall rules, you will need to create a new response page for blocked requests using one of the above methods.
5454

55-
For more information on custom Error Pages, refer to [Custom Errors](/rules/custom-errors/).
55+
For more information on Error Pages, refer to [Custom Errors](/rules/custom-errors/).
5656

5757
### New Skip action replacing both Allow and Bypass actions
5858

src/content/partials/fundamentals/account-permissions-table.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import { Markdown } from "~/components";
2626
| Access: SSH Auditing Read | Grants read access to [Cloudflare Access SSH CAs](/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-infrastructure-access/). |
2727
| Access: SSH Auditing {props.editWord} | Grants write access to [Cloudflare Access SSH CAs](/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-infrastructure-access/). |
2828
| Account Analytics Read | Grants read access to [account analytics](/analytics/account-and-zone-analytics/account-analytics/). |
29-
| Account Custom Pages Read | Grants read access to account-level [Custom Error Pages](/rules/custom-errors/). |
30-
| Account Custom Pages {props.editWord} | Grants write access to account-level [Custom Error Pages](/rules/custom-errors/). |
29+
| Account Custom Pages Read | Grants read access to account-level [Error Pages](/rules/custom-errors/). |
30+
| Account Custom Pages {props.editWord} | Grants write access to account-level [Error Pages](/rules/custom-errors/). |
3131
| Account { props.src === "dash" ? "Filter" : "Rule" } Lists Read | Grants read access to Account Filter Lists. |
3232
| Account { props.src === "dash" ? "Filter" : "Rule" } Lists {props.editWord} | Grants write access to Account Filter Lists. |
3333
| Account Firewall Access Rules Read | Grants read access to account firewall access rules. |

src/content/plans/index.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1237,8 +1237,8 @@
12371237
"biz": 50,
12381238
"ent": 300
12391239
},
1240-
"x_custom_pages": {
1241-
"title": "Custom Error Pages",
1240+
"x_error_pages": {
1241+
"title": "Error Pages",
12421242
"free": "No",
12431243
"pro": "Yes",
12441244
"biz": "Yes",

0 commit comments

Comments
 (0)