Skip to content

Commit dd16fa3

Browse files
authored
Update redirects.mdx (#24319)
closes #23318
1 parent 2a38eeb commit dd16fa3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/content/partials/workers/redirects.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ Cloudflare currently offers limited support for advanced redirects.
7777

7878
| Feature | Support | Example | Notes |
7979
| ----------------------------------- | ------- | --------------------------------------------------------------- | --------------------------------------- |
80-
| Redirects (301, 302, 303, 307, 308) | Yes | `/home / 301` | 302 is used as the default status code. |
81-
| Rewrites (other status codes) | No | `/blog/* /blog/404.html 404` | |
82-
| Splats | Yes | `/blog/* /posts/:splat` | Refer to [Splats](#splats). |
83-
| Placeholders | Yes | `/blog/:year/:month/:date/:slug /news/:year/:month/:date/:slug` | Refer to [Placeholders](#placeholders). |
84-
| Query Parameters | No | `/shop id=:id /blog/:id 301` | |
85-
| Proxying | Yes | `/blog/* /news/:splat 200` | Refer to [Proxying](#proxying). |
86-
| Domain-level redirects | No | `workers.example.com/* workers.example.com/blog/:splat 301` | |
87-
| Redirect by country or language | No | `/ /us 302 Country=us` | |
88-
| Redirect by cookie | No | `/\* /preview/:splat 302 Cookie=preview` | |
80+
| Redirects (301, 302, 303, 307, 308) | | `/home / 301` | 302 is used as the default status code. |
81+
| Rewrites (other status codes) | | `/blog/* /blog/404.html 404` | |
82+
| Splats | | `/blog/* /posts/:splat` | Refer to [Splats](#splats). |
83+
| Placeholders | | `/blog/:year/:month/:date/:slug /news/:year/:month/:date/:slug` | Refer to [Placeholders](#placeholders). |
84+
| Query Parameters | | `/shop id=:id /blog/:id 301` | |
85+
| Proxying | | `/blog/* /news/:splat 200` | Refer to [Proxying](#proxying). |
86+
| Domain-level redirects | | `workers.example.com/* workers.example.com/blog/:splat 301` | |
87+
| Redirect by country or language | | `/ /us 302 Country=us` | |
88+
| Redirect by cookie | | `/\* /preview/:splat 302 Cookie=preview` | |
8989

9090
## Redirects and header matching
9191

0 commit comments

Comments
 (0)