Skip to content

Commit ac0a5ce

Browse files
authored
[Support] Update configuring-custom-pages-error-and-challenge.mdx
1 parent 2a12287 commit ac0a5ce

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/content/docs/support/more-dashboard-apps/cloudflare-custom-pages/configuring-custom-pages-error-and-challenge.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,21 @@ After customizing your custom error page, there are two options for adding the p
108108
- Domain level: the custom error page will apply to only one domain associated with your account.
109109

110110
:::note
111-
112111
If Cloudflare cannot load your site or you have blocked the United States (US) via [IP Access rules](/waf/tools/ip-access-rules/) or WAF custom rules, publishing and previewing the error page will not work.
113112

114113
A common error might look like the following: `Error fetching page: Fetch failed, https://example.com/ipcountryblock.html returned 403 (Code: 1202)`. Make sure that you are serving the custom error page with an `HTTP 200` status code, and that no WAF rule is blocking or challenging your custom error page.
115-
116114
:::
117115

118116
:::note
119117
When publishing the custom error page, the system will ignore query strings. This means that if the custom error page URL contains a query string the address published will remove `?` and anything after that (for example, `https://domain.com/5xx.html?removeimages` -> `https://domain.com/5xx.html`).
120118
:::
121119

120+
:::note
121+
The custom error page is only accessed on the origin web server when previewing and publishing the page.
122+
It is then stored on the Cloudflare edge, and served directly from Cloudlfare edge.
123+
No request is made to the origin web server when the custom error page is used.
124+
:::
125+
122126
### Account-level custom error page
123127

124128
To publish an account level custom error page:

0 commit comments

Comments
 (0)