Skip to content

Commit efdf59f

Browse files
committed
Make URL rewrite instructions consistent
1 parent 659c4b3 commit efdf59f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/content/docs/rules/origin-rules/tutorials/point-to-pages-with-custom-domain.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ Use a URL rewrite to remove the `/blog` segment from the URL path.
8080

8181
6. In **Then rewrite the path and/or query**, enter the following values under **Path**:
8282

83-
| Target path | Rewrite to |
84-
| ----------- | ---------- |
85-
| `blog/*` | `${1}` |
83+
| Target path | Rewrite to |
84+
| -------------- | ------------ |
85+
| [`/`] `blog/*` | [`/`] `${1}` |
8686

8787
7. Select **Deploy**.
8888

src/content/docs/rules/origin-rules/tutorials/point-to-r2-bucket-with-custom-domain.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ Use a URL rewrite to remove the `/images` segment from the URL path. Cloudflare
8383

8484
6. In **Then rewrite the path and/or query**, enter the following values under **Path**:
8585

86-
| Target path | Rewrite to |
87-
| ----------- | ---------- |
88-
| `images/*` | `${1}` |
86+
| Target path | Rewrite to |
87+
| ---------------- | ------------ |
88+
| [`/`] `images/*` | [`/`] `${1}` |
8989

9090
7. Select **Deploy**.
9191

0 commit comments

Comments
 (0)