You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/rules/url-forwarding/examples/redirect-all-different-domain-root.mdx
+20-15Lines changed: 20 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,22 +11,27 @@ description: Create a redirect rule to redirect all URLs for a domain to point
11
11
12
12
In this example, an old website was discontinued and replaced by a new one in a different domain. The functionality is different, and all URLs should now point to the root of the new domain. The same applies to any subdomains of the old domain.
13
13
14
-
1. Create a Bulk Redirect List with the following URL redirect:
14
+
<Example>
15
15
16
-
-**Source URL**: `example.com/`
17
-
-**Target URL**: `https://example.net/`
18
-
-**Subpath matching**: Enabled
19
-
-**Include subdomains**: Enabled
20
-
-**Preserve path suffix**: Disabled
16
+
**When incoming requests match**
21
17
22
-
2. Create a Bulk Redirect Rule that enables this list.
18
+
-**Wildcard pattern**
19
+
-**Request URL**: `http*://*example.com/*`
23
20
24
-
This configuration will perform the following redirects:
0 commit comments