跳转到主要内容

章节Cloudflare 开发者文档(免费档)

Rules

188 页更新于 22 小时前

开始阅读

本章内容188

  1. 01 Rules changelog import { ProductChangelog } from "~/components"; {/* */} 2024-09-20 Automatic DNS Validation for Cloudflar... 22 小时前
  2. 02 Rules examples import { ResourcesBySelector, GlossaryTooltip } from "~/components"; Explore the following examples for Rul... 22 小时前
  3. 03 Cloudflare Rules import { CardGrid, Feature, LinkTitleCard, Plan, RelatedProduct, } from "~/components"; Cloudflare Rules al... 22 小时前
  4. 04 Configure a Cloud Connector rule via API import { APIRequest } from "~/components"; You can configure Cloud Connector rules using the Cloudflare API... 22 小时前
  5. 05 Configure a Cloud Connector rule in the dashboard import { Render, Steps, DashButton } from "~/components"; To configure a Cloud Connector rule in the dashbo... 22 小时前
  6. 06 Configure Cloud Connector rules using Terraform import { Render } from "~/components"; You can create Cloud Connector rules using the Terraform Cloudflare ... 22 小时前
  7. 07 Cloud Connector import { ProductAvailabilityText, Render } from "~/components"; Cloud Connector allows you to route matchi... 22 小时前
  8. 08 Supported cloud providers in Cloud Connector import { Render, Steps } from "~/components"; Cloud Connector currently supports the following cloud provid... 22 小时前
  9. 09 Cloud Connector examples import { ResourcesBySelector } from "~/components"; <ResourcesBySelector directory="rules/cloud-connector/e... 22 小时前
  10. 10 Route /images to an S3 Bucket using Terraform import { Render } from "~/components"; The following example defines a single Cloud Connector rule for a zo... 22 小时前
  11. 11 Route /images to an S3 Bucket import { Steps, DashButton } from "~/components"; To route requests to /images on your domain to an AWS S3... 22 小时前
  12. 12 Send EU visitors to a Google Cloud Storage bucket import { Steps, DashButton } from "~/components"; To route requests from visitors in the European Union to ... 22 小时前
  13. 13 Serve /static-assets from Azure Blob Storage import { Steps, DashButton } from "~/components"; To serve static assets from an Azure Blob Storage contain... 22 小时前
  14. 14 Create a compression rule via API import { Render } from "~/components"; Use the Rulesets API to create a compression rule via API. Basic rul... 22 小时前
  15. 15 Create a compression rule in the dashboard import { Render, Steps, DashButton } from "~/components"; In the Cloudflare dashboard, go to the Rules Over... 22 小时前
  16. 16 Compression Rules import { Render } from "~/components"; Use Compression Rules to customize the compression applied to respon... 22 小时前
  17. 17 Compression Rules settings import { Details, Badge } from "~/components"; Compression Rules support the configuration settings covered... 22 小时前
  18. 18 Disable Brotli compression import { Example, TabItem, Tabs, APIRequest, Render } from "~/components"; The following example rule wil... 22 小时前
  19. 19 Disable compression for AVIF images import { Example, TabItem, Tabs, APIRequest, Render } from "~/components"; The following example rule wil... 22 小时前
  20. 20 Enable Zstandard compression for default content types import { Example, TabItem, Tabs, APIRequest, Render } from "~/components"; The following example rule wil... 22 小时前
  21. 21 Use Gzip compression for CSV files import { Example, TabItem, Tabs, APIRequest, Render } from "~/components"; The following example rule wil... 22 小时前
  22. 22 Compression Rules examples import { ResourcesBySelector } from "~/components"; <ResourcesBySelector directory="rules/compression-rules... 22 小时前
  23. 23 Use only Brotli compression for a specific path import { Example, TabItem, Tabs, APIRequest, Render } from "~/components"; The following example rule wil... 22 小时前
  24. 24 Create a configuration rule via API import { Details, Render, APIRequest } from "~/components"; Use the Rulesets API to create configuration ru... 22 小时前
  25. 25 Create a configuration rule in the dashboard import { Render, Steps, DashButton } from "~/components"; In the Cloudflare dashboard, go to the Rules Over... 22 小时前
  26. 26 Configuration Rules import { Render } from "~/components"; Configuration Rules allow you to customize certain Cloudflare config... 22 小时前
  27. 27 Response body inspection import { Steps } from "~/components"; When no enabled feature needs response content, Cloudflare can send d... 22 小时前
  28. 28 Configuration Rules settings import { Details, Render } from "~/components"; You can change the configuration settings described below i... 22 小时前
  29. 29 Define a single configuration rule using Terraform import { Render } from "~/components"; The following example defines a single configuration rule for a zone... 22 小时前
  30. 30 Configuration Rules examples import { ResourcesBySelector } from "~/components"; <ResourcesBySelector directory="rules/configuration-rul... 22 小时前
  31. 31 Common API calls for Custom Errors import { APIRequest } from "~/components"; The following sections provide examples of common API calls for ... 22 小时前
  32. 32 Create custom error rules import { APIRequest, Render, Steps, DashButton } from "~/components"; In the dashboard Create a custom erro... 22 小时前
  33. 33 Edit Error Pages import { Render, Details, DashButton, Steps, Tabs, TabItem, } from "~/components"; You can define custom Er... 22 小时前
  34. 34 Example custom error rules import { Tabs, TabItem, APIRequest, Render } from "~/components"; The provided examples use the following f... 22 小时前
  35. 35 Custom Errors import { Render, Steps } from "~/components"; Use Custom Errors to replace default Cloudflare error pages w... 22 小时前
  36. 36 Troubleshoot Error Pages issues If Cloudflare cannot load your site or you have blocked the United States (US) via IP Access rules or WAF c... 22 小时前
  37. 37 Error page types Page type Description API identifier WAF block The page displayed when visitors are blocked by a Web Applic... 22 小时前
  38. 38 Error tokens Each custom error token provides diagnostic information or specific functionality that appears on the error... 22 小时前
  39. 39 Reference import { DirectoryListing } from "~/components"; This section contains reference information for Custom Err... 22 小时前
  40. 40 Custom Errors parameters import { Type, MetaInfo } from "~/components"; Custom error rules Custom error rules define when a custom e... 22 小时前
  41. 41 URL normalization examples The following table shows how different URL normalization settings affect request URLs before they pass to ... 22 小时前
  42. 42 How URL normalization works import { Steps } from "~/components"; URL normalization modifies separators, encoded elements, and literal ... 22 小时前
  43. 43 URL normalization import { GlossaryTooltip, Render } from "~/components"; Cloudflare provides a URL normalization feature to ... 22 小时前
  44. 44 Configure URL normalization in the dashboard import { Steps, DashButton } from "~/components"; In the Cloudflare dashboard, go to the Rules Settings pag... 22 小时前
  45. 45 URL normalization settings The Cloudflare dashboard provides the following settings to manage URL normalization: Normalization type De... 22 小时前
  46. 46 Create an origin rule via API import { Details, Render, APIRequest } from "~/components"; Use the Rulesets API to create origin rules via... 22 小时前
  47. 47 Create an origin rule in the dashboard import { Render, Steps, DashButton } from "~/components"; In the Cloudflare dashboard, go to the Rules Over... 22 小时前
  48. 48 Origin Rules FAQ import { Details, Example } from "~/components"; Below you will find answers to the most commonly asked que... 22 小时前
  49. 49 Origin Rules settings import { Example } from "~/components"; The following sections describe the available settings in Origin Ru... 22 小时前
  50. 50 Origin Rules import { Render } from "~/components"; Origin Rules allow you to change the origin server that Cloudflare s... 22 小时前
  51. 51 Origin Rules API parameter reference Create different overrides by including different action parameters in the action_parameters field: Overri... 22 小时前
  52. 52 Change the HTTP Host header and DNS record import { Render, Tabs, TabItem, Example } from "~/components"; The following origin rule overrides the HTTP... 22 小时前
  53. 53 Change the destination port import { Render, Tabs, TabItem, Example } from "~/components"; The following origin rule overrides the dest... 22 小时前
  54. 54 Define a single origin rule using Terraform import { Render } from "~/components"; The following example defines a single origin rule for a zone using ... 22 小时前
  55. 55 Origin Rules examples import { ResourcesBySelector } from "~/components"; <ResourcesBySelector directory="rules/origin-rules/exam... 22 小时前
  56. 56 Change URI path and Host header import { Example, Steps, DashButton } from "~/components"; This tutorial will instruct you how to modify bo... 22 小时前
  57. 57 Origin Rules tutorials import { ListTutorials } from "~/components"; 22 小时前
  58. 58 Point to Pages with a custom domain import { Example, DashButton, Steps } from "~/components"; This tutorial will instruct you how to configure... 22 小时前
  59. 59 Point to R2 bucket with a custom domain import { Example, DashButton, Steps } from "~/components"; This tutorial will instruct you how to configure... 22 小时前
  60. 60 Page Rules Page Rules trigger one or more actions whenever a certain URL pattern is matched. Page Rules are available ... 22 小时前
  61. 61 Manage Page Rules import { Render, TabItem, Tabs, Steps, DashButton } from "~/components"; You can manage Page Rules in the C... 22 小时前
  62. 62 How to import { DirectoryListing, Render } from "~/components"; Use the following resources to accomplish specific... 22 小时前
  63. 63 URL forwarding with Page Rules import { Render, Steps, DashButton } from "~/components"; Page Rules allow you to forward or redirect traff... 22 小时前
  64. 64 Additional reference for Page Rules import { Render } from "~/components"; Bypass Cache on Cookie setting This setting is available to Business... 22 小时前
  65. 65 Reference import { DirectoryListing, Render } from "~/components"; 22 小时前
  66. 66 Recommended page rules import { Example, Render } from "~/components"; Use Cloudflare Page Rules to improve the user experience of... 22 小时前
  67. 67 Page Rules settings import { Render } from "~/components"; Settings control the action Cloudflare takes once a request matches ... 22 小时前
  68. 68 Wildcard matching in Page Rules import { Render } from "~/components"; You can use the asterisk ( *) in any URL segment to match certain pa... 22 小时前
  69. 69 Troubleshoot Page Rules - Billing and subscription import { Render, Steps, DashButton } from "~/components"; If I run out of Page Rules, can I buy more? No, y... 22 小时前
  70. 70 Troubleshoot Page Rules - General import { Render } from "~/components"; Why is a page rule not working? The most common reason that a page r... 22 小时前
  71. 71 Troubleshooting import { DirectoryListing, Render } from "~/components"; Use the following resources to help you troublesho... 22 小时前
  72. 72 Reference import { DirectoryListing } from "~/components"; Refer to the following pages for more information about Ru... 22 小时前
  73. 73 Page Rules migration guide import { Render, TabItem, Tabs, Example, Steps } from "~/components"; Cloudflare is continuously improving ... 22 小时前
  74. 74 Troubleshoot Rules import { Example, Render } from "~/components"; Interaction between redirects and other Cloudflare products... 22 小时前
  75. 75 Rules simulator changelog import { ProductReleaseNotes } from "~/components"; {/* */} 22 小时前
  76. 76 Use Rules simulator import { GlossaryTooltip, DashButton, Steps } from "~/components"; Use Rules simulator in the dashboard 1. ... 22 小时前
  77. 77 Rules simulator import { DirectoryListing, Plan, ProductAvailabilityText, Render, } from "~/components"; Rules simulator s... 22 小时前
  78. 78 Rules simulator limitations Rules simulator does not display rules that are automatically bypassed for operational reasons. For example... 22 小时前
  79. 79 Configure Snippets via API import { APIRequest } from "~/components"; You can create Snippets using the Cloudflare API. Required permi... 22 小时前
  80. 80 Create a snippet in the dashboard import { Render, Steps, DashButton } from "~/components"; In the Cloudflare dashboard, go to the Snippets p... 22 小时前
  81. 81 Configure Snippets using Terraform import { Render } from "~/components"; You can create Snippets using the Terraform Cloudflare provider. To ... 22 小时前
  82. 82 Troubleshoot Snippets import { GlossaryTooltip } from "~/components"; Error 1201: Snippet tried to continue to origin multiple ti... 22 小时前
  83. 83 How Snippets work Cloudflare Snippets are executed based on rules defined within your zone. Here is how the process works: 1.... 22 小时前
  84. 84 Cloudflare Snippets import { GlossaryTooltip, Render, Card } from "~/components"; Cloudflare Snippets allow you to run short pi... 22 小时前
  85. 85 When to use Snippets vs Workers This guide helps you determine when to use Snippets or Workers on Cloudflare's global network. It provides ... 22 小时前
  86. 86 A/B testing with same-URL direct access This version passes through requests for /test/* and /control/* URI paths to the origin server, bypassing... 22 小时前
  87. 87 Append dates to cookies to use with A/B testing export default { async fetch(request) { const response = await fetch(request); // Clone the response s... 22 小时前
  88. 88 Auth with headers :::caution[Caution when using in production] The example code contains a generic header key and value of X... 22 小时前
  89. 89 Send Bot Management information to origin export default { async fetch(request) { // Clone the original request to construct a new request const... 22 小时前
  90. 90 Send suspect bots to a honeypot export default { async fetch(request) { const response = await fetch(request); // Clone the response s... 22 小时前
  91. 91 Bulk redirect based on a map object export default { async fetch(request) { // Define a variable with the hostname that needs to be redirect... 22 小时前
  92. 92 Country code redirect export default { async fetch(request) { /** * A map of the URLs to redirect to * @param {Object} c... 22 小时前
  93. 93 Custom cache // Define configurable cache duration in seconds (default: 30 days) const CACHE_DURATION_SECONDS = 30 * 24 ... 22 小时前
  94. 94 Debugging logs // Replace with your actual logging service endpoint const loggingEndpoint = "https://your-logging-endpoint... 22 小时前
  95. 95 Define CORS headers // Define CORS headers const corsHeaders = { "Access-Control-Allow-Origin": "*", // Replace * with your al... 22 小时前
  96. 96 Follow redirects from the origin export default { async fetch(request) { // Define fetch options to follow redirects const fetchOptions... 22 小时前
  97. 97 Add HEX timestamp to a request header export default { async fetch(request) { // Get the current timestamp const timestamp = Date.now(); /... 22 小时前
  98. 98 Snippets examples import { ResourcesBySelector } from "~/components"; Refer to the following examples to get started creating... 22 小时前
  99. 99 Validate JSON web tokens (JWT) :::caution[Caution when using in production] The example code contains a placeholder HMAC secret of "mysec... 22 小时前
  100. 100 Maintenance page // Define your customizable inputs const statusCode = 503; const title = "We'll Be Right Back!"; const mess... 22 小时前
  101. 101 Override a Set-Cookie header with a certain value export default { async fetch(request) { // Receive response from the origin const response = await fet... 22 小时前
  102. 102 Redirect 403 Forbidden to a different page export default { async fetch(request) { // Send original request to the origin const response = await ... 22 小时前
  103. 103 Redirect from one domain to another export default { async fetch(request) { // Define variables to use in the response redirect. const bas... 22 小时前
  104. 104 Remove fields from API response export default { async fetch(request) { // Send original request to the origin const response = await ... 22 小时前
  105. 105 Remove query strings before sending request to origin export default { async fetch(request) { // Define the query strings you want to remove const queryStri... 22 小时前
  106. 106 Remove response headers export default { async fetch(request) { // Define the prefix of the headers you want to remove const h... 22 小时前
  107. 107 Return information about the incoming request export default { async fetch(request) { // For any request, respond with JSON object containing all inco... 22 小时前
  108. 108 Rewrite links on HTML pages export default { async fetch(request) { // Define the old hostname here. const OLD_URL = "oldsite.com"... 22 小时前
  109. 109 Change origin and modify paths This example demonstrates how to use Cloudflare Snippets to: Reroute incoming requests to a different origi... 22 小时前
  110. 110 Set security headers export default { async fetch(request) { // Define an object with the security headers you want to set. ... 22 小时前
  111. 111 Send timestamp to origin as a custom header export default { async fetch(request) { // Get the current timestamp const timestamp = Date.now(); /... 22 小时前
  112. 112 Route to a different origin based on origin response export default { async fetch(request) { // Send original request to the origin const response = await ... 22 小时前
  113. 113 Sign requests The following Snippet will: For request URLs beginning with /generate/, replace /generate/ with /, sign ... 22 小时前
  114. 114 Slow down suspicious requests export default { async fetch(request) { // Define delay const delay_in_seconds = 5; // Introduce a d... 22 小时前
  115. 115 Transform Rules import { Render } from "~/components"; Transform Rules allow you to adjust the URI path, query string, and ... 22 小时前
  116. 116 Troubleshoot Transform Rules When troubleshooting a rule configuration, review the Transform Rules evaluation section to understand how ... 22 小时前
  117. 117 Add a wildcard CORS response header import { Example } from "~/components"; The following response header transform rule adds a header named A... 22 小时前
  118. 118 Add a request header with the current bot score import { Example } from "~/components"; The following request header transform rule adds a header named X-... 22 小时前
  119. 119 Add request header with a static value import { Example } from "~/components"; The following request header transform rule adds a header named X-... 22 小时前
  120. 120 Add a request header for subrequests from other zones import { Example } from "~/components"; The following request header transform rule adds an HTTP header to ... 22 小时前
  121. 121 Add a response header with a static value import { Example } from "~/components"; The following response header transform rule adds a header named s... 22 小时前
  122. 122 Transform Rules examples import { ResourcesBySelector } from "~/components"; <ResourcesBySelector directory="rules/transform/example... 22 小时前
  123. 123 Normalize encoded slashes in URL path import { Example } from "~/components"; Different web servers and applications handle encoded forward slash... 22 小时前
  124. 124 Remove a request header import { Example } from "~/components"; The following request header transform rule removes the cf-connect... 22 小时前
  125. 125 Remove a response header import { Example } from "~/components"; The following response header transform rule removes the cf-connec... 22 小时前
  126. 126 Rewrite blog archive URLs import { Example } from "~/components"; To rewrite the URLs of a blog archive that follow the URL format /... 22 小时前
  127. 127 Rewrite path of moved section of a website import { Example } from "~/components"; To rewrite everything under /blog/<PATH> to /marketing/<PATH>, cr... 22 小时前
  128. 128 Rewrite path of archived blog posts import { Example } from "~/components"; To rewrite all requests to /news/2012/... to /archive/news/2012/.... 22 小时前
  129. 129 Rewrite path for object storage bucket import { Example } from "~/components"; To remove /files/ from URI paths before routing request to your ob... 22 小时前
  130. 130 Rewrite image paths with several URL segments import { Example } from "~/components"; To rewrite paths like /images/<FOLDER1>/<FOLDER2>/<FILENAME> — whe... 22 小时前
  131. 131 Rewrite URL query string import { Example } from "~/components"; To rewrite a request to the /blog path to /blog?sort-by=date, cre... 22 小时前
  132. 132 Rewrite page path for visitors in specific countries import { Example } from "~/components"; To have a welcome page in two languages, create two URL rewrite rul... 22 小时前
  133. 133 Set a response header with the current bot score import { Example } from "~/components"; The following response header transform rule sets a header named X... 22 小时前
  134. 134 Set response header with a static value import { Example } from "~/components"; The following response header transform rule sets a header named X... 22 小时前
  135. 135 Configure Managed Transforms import { Details, TabItem, Tabs, Render, Steps, APIRequest, DashButton, } from "~/components"; In the Clo... 22 小时前
  136. 136 Managed Transforms Managed Transforms allow you to perform common adjustments to HTTP request and response headers with pre-bu... 22 小时前
  137. 137 Available Managed Transforms import { GlossaryTooltip, Render } from "~/components"; This page lists the available Managed Transforms. T... 22 小时前
  138. 138 Create a request header transform rule via API import { Details, Render, APIRequest } from "~/components"; Use the Rulesets API to create Request Header T... 22 小时前
  139. 139 Create a request header transform rule in the dashboard import { Render, Steps, DashButton } from "~/components"; Refer to the Rules examples gallery for examples ... 22 小时前
  140. 140 Request Header Transform Rules import { Render } from "~/components"; Use Request Header Transform Rules to manipulate the headers of HTTP... 22 小时前
  141. 141 Available fields and functions The available fields when setting an HTTP request header value using an expression are the following: cf.bo... 22 小时前
  142. 142 Format of HTTP request header names and values import { Render } from "~/components"; The name of the HTTP request header you want to set or remove can on... 22 小时前
  143. 143 Reference import { DirectoryListing } from "~/components"; This section contains reference information for Request He... 22 小时前
  144. 144 API parameter reference To set an HTTP request header via API, set the following parameters in the action_parameters field: operat... 22 小时前
  145. 145 Create a response header transform rule via API import { Details, Render, APIRequest } from "~/components"; Use the Rulesets API to create Response Header ... 22 小时前
  146. 146 Create a response header transform rule in the dashboard import { Render, Steps, DashButton } from "~/components"; Refer to the Rules examples gallery for examples ... 22 小时前
  147. 147 Response Header Transform Rules import { Render } from "~/components"; Use Response Header Transform Rules to manipulate the headers of HTT... 22 小时前
  148. 148 Available fields and functions The available fields when setting an HTTP response header value using an expression are the following: cf.b... 22 小时前
  149. 149 Format of HTTP response header names and values import { Render } from "~/components"; The name of the HTTP response header you want to set or remove can o... 22 小时前
  150. 150 Reference import { DirectoryListing } from "~/components"; This section contains reference information for Response H... 22 小时前
  151. 151 API parameter reference To set an HTTP response header, overwriting any headers with the same name, use the following parameters in... 22 小时前
  152. 152 Create a URL rewrite rule via API import { Details, Render, APIRequest } from "~/components"; Use the Rulesets API to create URL Rewrite Rule... 22 小时前
  153. 153 Create a URL rewrite rule in the dashboard import { Render, Steps, DashButton } from "~/components"; Refer to the Rules examples gallery for examples ... 22 小时前
  154. 154 URL Rewrite Rules import { Render } from "~/components"; You can manipulate the URL of a request through different operations... 22 小时前
  155. 155 Available fields and functions import { Render } from "~/components"; Filter expressions A URL rewrite rule filter expression (that is, th... 22 小时前
  156. 156 Reference import { DirectoryListing } from "~/components"; This section contains reference information for URL Rewrit... 22 小时前
  157. 157 URL rewrite parameters Static and dynamic URL rewrites have different parameters: A static URL rewrite requires a static value for... 22 小时前
  158. 158 Redirects import { Render } from "~/components"; URL forwarding, also known as URL redirection, navigates the user fr... 22 小时前
  159. 159 Bulk Redirects concepts import { Example, GlossaryTooltip } from "~/components"; Bulk Redirects involve the following elements: URL... 22 小时前
  160. 160 Create Bulk Redirects via API import { Render, Steps, APIRequest, Tabs, TabItem } from "~/components"; To create Bulk Redirects via API, ... 22 小时前
  161. 161 Create Bulk Redirects in the dashboard import { Details, Render, DashButton, Steps } from "~/components"; To create Bulk Redirects in the Cloudfla... 22 小时前
  162. 162 Bulk Redirects FAQ import { GlossaryTooltip } from "~/components"; Below you will find answers to the most commonly asked ques... 22 小时前
  163. 163 How Bulk Redirects work import { MetaInfo } from "~/components"; When a request reaches Cloudflare, Bulk Redirects are evaluated be... 22 小时前
  164. 164 Bulk Redirects import { Render } from "~/components"; Bulk Redirects allow you to define a large number of URL redirects a... 22 小时前
  165. 165 Configure Bulk Redirects using Terraform import { Render, Tabs, TabItem } from "~/components"; This Terraform example configures account-level Bulk ... 22 小时前
  166. 166 CSV file format for Bulk Redirects You can use a CSV file to import URL redirects into a Bulk Redirect List using the Cloudflare dashboard. Ea... 22 小时前
  167. 167 Available fields and functions The available fields when defining a Bulk Redirect Rule filter expression are the following: cf.edge.server... 22 小时前
  168. 168 Reference import { DirectoryListing } from "~/components"; Refer to the following pages for more information about Bu... 22 小时前
  169. 169 Bulk Redirects API JSON objects A fully populated Bulk Redirect Rule object has the following JSON structure: { "action": "redirect", "ex... 22 小时前
  170. 170 URL redirect parameters import { Type, MetaInfo, Render } from "~/components"; A URL redirect has a source URL, a target URL, a sta... 22 小时前
  171. 171 Supported URL components in Bulk Redirects The source and target URLs of a URL redirect support different URL components. The provided URL component e... 22 小时前
  172. 172 Redirect examples import { ResourcesBySelector } from "~/components"; <ResourcesBySelector directory="rules/url-forwarding/ex... 22 小时前
  173. 173 Perform mobile redirects import { Example } from "~/components"; The following examples will redirect visitors using mobile devices ... 22 小时前
  174. 174 Redirect admin area requests to HTTPS import { Example } from "~/components"; This example single redirect for zone example.com will redirect re... 22 小时前
  175. 175 Redirect requests from one domain to another import { Example } from "~/components"; In this example the original domain was replaced with a different d... 22 小时前
  176. 176 Redirect requests from one country to a domain import { Steps } from "~/components"; In this example, all website visitors from the United Kingdom will be... 22 小时前
  177. 177 Redirect requests for a domain to a new domain import { Example } from "~/components"; In this example, an old website was discontinued and replaced by a ... 22 小时前
  178. 178 Redirect requests to a different hostname import { Example } from "~/components"; This example single redirect will redirect all requests for smalls... 22 小时前
  179. 179 Redirect local visitors to specific subdomains import { Example } from "~/components"; This example single redirect for zone example.com will redirect Un... 22 小时前
  180. 180 Redirect visitors to a new page URL import { Example } from "~/components"; This example static redirect for zone example.com will redirect vi... 22 小时前
  181. 181 Redirect from root to WWW import { Example } from "~/components"; This example creates a redirect rule that forwards HTTPS requests f... 22 小时前
  182. 182 Redirect from WWW to root import { Example } from "~/components"; This example creates a redirect rule that forwards HTTPS requests f... 22 小时前
  183. 183 Remove locale from URL path import { Example } from "~/components"; This example single redirect for zone example.com will redirect vi... 22 小时前
  184. 184 Create a redirect rule via API import { Details, Render, APIRequest } from "~/components"; Use the Rulesets API to create a redirect rule ... 22 小时前
  185. 185 Create a redirect rule in the dashboard import { Render, Steps, DashButton } from "~/components"; In the Cloudflare dashboard, go to the Rules Over... 22 小时前
  186. 186 Single Redirects import { GlossaryTooltip, Render } from "~/components"; Single Redirects allow you to create static or dyna... 22 小时前
  187. 187 Single Redirects settings import { Details, Render } from "~/components"; The following sections describe the settings of redirect ru... 22 小时前
  188. 188 Create a redirect rule using Terraform import { Render } from "~/components"; The following example defines a single redirect rule for a zone usin... 22 小时前