@@ -38,25 +38,23 @@ This example lets you rewrite a request from `example.com/images` to `example.co
3838
3939To create a rule:
4040
41- 1 . In the Cloudflare dashboard, go to the ** Account home ** page.
41+ 1 . In the Cloudflare dashboard, go to the ** Rules Overview ** page.
4242
43- <DashButton url = " /?to=/:account/home " />
43+ <DashButton url = " /?to=/:account/:zone/rules/overview " />
4444
45- 2 . Select your domain.
46- 3 . Go to ** Rules** > ** Overview** .
47- 4 . Next to ** URL Rewrite Rules** , select ** Create rule** .
48- 5 . Under ** If incoming requests match** , select ** Wildcard pattern** and enter the following ** Request URL** (update with your own domain):
45+ 2 . Next to ** URL Rewrite Rules** , select ** Create rule** .
46+ 3 . Under ** If incoming requests match** , select ** Wildcard pattern** and enter the following ** Request URL** (update with your own domain):
4947
5048 ``` txt
5149 https://example.com/images/*
5250 ```
5351
54- 6 . Under ** Then rewrite the path and/or query** > ** Path** , enter the following values (using your account hash):
52+ 4 . Under ** Then rewrite the path and/or query** > ** Path** , enter the following values (using your account hash):
5553
5654 - ** Target path** : [ ` / ` ] ` images/* `
5755 - ** Rewrite to** : [ ` / ` ] ` cdn-cgi/imagedelivery/<ACCOUNT_HASH>/${1} `
5856
59- 7 . Select ** Deploy** when you are done.
57+ 5 . Select ** Deploy** when you are done.
6058
6159### Advanced version
6260
@@ -68,17 +66,15 @@ This example lets you rewrite a request from `example.com/images/some-image-id/w
6866
6967To create a rule:
7068
71- 1 . In the Cloudflare dashboard, go to the ** Account home ** page.
69+ 1 . In the Cloudflare dashboard, go to the ** Rules Overview ** page.
7270
73- <DashButton url = " /?to=/:account/home " />
71+ <DashButton url = " /?to=/:account/:zone/rules/overview " />
7472
75- 2 . Select your domain.
76- 3 . Go to ** Rules** > ** Overview** .
77- 4 . Next to ** URL Rewrite Rules** , select ** Create rule** .
78- 5 . Under ** If incoming requests match** , select ** Custom filter expression** and then select ** Edit expression** .
79- 6 . In the text field, enter ` (http.request.uri.path matches "^/images/.*$") ` .
80- 7 . Under ** Path** , select ** Rewrite to** .
81- 8 . Select _ Dynamic_ and enter the following in the text field.
73+ 2 . Next to ** URL Rewrite Rules** , select ** Create rule** .
74+ 3 . Under ** If incoming requests match** , select ** Custom filter expression** and then select ** Edit expression** .
75+ 4 . In the text field, enter ` (http.request.uri.path matches "^/images/.*$") ` .
76+ 5 . Under ** Path** , select ** Rewrite to** .
77+ 6 . Select _ Dynamic_ and enter the following in the text field.
8278
8379``` txt
8480regex_replace(
0 commit comments