Skip to content

Commit ad52fe3

Browse files
committed
Add redirect section for block page
1 parent 8c66180 commit ad52fe3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/content/docs/cloudflare-one/policies/gateway/block-page.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ To turn on the block page and specify a custom block message:
3737
}}
3838
/>
3939

40+
## Redirect to a block page
41+
42+
You can set Gateway to perform a 307 HTTP redirect to a custom URL in lieu of a block page.
43+
44+
To redirect users to a non-Cloudflare block page:
45+
46+
1. In [Zero Trust](https://one.dash.cloudflare.com), go to **Settings** > **Custom Pages**.
47+
2. Under **Account Gateway block page**, select **Customize**.
48+
3. Choose **URL redirect**
49+
4. Select **Save**.
50+
51+
Gateway will now redirect users to a custom page when visiting a blocked website.
52+
4053
## Customize the block page
4154

4255
<Render file="gateway/customize-block-page" />

0 commit comments

Comments
 (0)