Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ head:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account and domain.
2. Go to **Rules** > **Overview**.
3. Next to **Compression Rules**, select **Create rule**.
3. Select **Create rule** > **Compression Rule**.
4. (Optional) Select one of the rule templates that address common use cases. Then, review and adjust the proposed rule configuration.
5. Enter a descriptive name for the rule in **Rule name**.
6. Under **When incoming requests match**, select if you wish to apply the rule to [default content types](/speed/optimization/content/compression/#compression-between-cloudflare-and-website-visitors) (content types that Cloudflare compresses by default), or to requests that match a custom filter expression.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ head:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account and domain.
2. Go to **Rules** > **Overview**.
3. Next to **Configuration Rules**, select **Create rule**.
3. Select **Create rule** > **Configuration Rule**.
4. (Optional) Select one of the rule templates that address common use cases. Then, review and adjust the proposed rule configuration.
5. Enter a descriptive name for the rule in **Rule name**.
6. Under **When incoming requests match**, select if you wish to apply the rule to all incoming requests or only to requests that match a custom filter expression.
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/rules/normalization/manage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: How to configure URL normalization in the Cloudflare dashboard.

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and website.

2. Go to **Rules** > **Overview** > **URL Normalization**.
2. Go to **Rules** > **Overview** and select **URL Normalization**.

3. Configure the [available URL normalization settings](/rules/normalization/settings/).

Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/rules/origin-rules/create-dashboard.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ head:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account and domain.
2. Go to **Rules** > **Overview**.
3. Next to **Origin Rules**, select **Create rule**.
3. Select **Create rule** > **Origin Rule**.
4. (Optional) Select one of the rule templates that address common use cases. Then, review and adjust the proposed rule configuration.
5. Enter a descriptive name for the rule in **Rule name**.
6. Under **When incoming requests match**, define the [rule expression](/ruleset-engine/rules-language/expressions/edit-expressions/).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ To change URI Path and Host Header on incoming requests simultaneously:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
2. Create a URL rewrite:
- Navigate to **Rules** > **Overview**.
- Next to **URL Rewrite Rules**, select **Create rule** .
- Go to **Rules** > **Overview**.
- Select **Create rule** > **URL Rewrite Rule**.
- Configure the rule to modify the path. For instance, to remove `/uploads` from the path:

<Example>
Expand All @@ -37,8 +37,8 @@ regex_replace(raw.http.request.uri.path, "^/uploads/", "/")
The `regex_replace()` [function](/ruleset-engine/rules-language/functions/#regex_replace) replaces the `/uploads/` part of the path with `/`, changing `/uploads/example.jpg` to `/example.jpg`.

3. Create an **Origin Rule**:
- If routing traffic to an object storage bucket, use [Cloud Connector](/rules/cloud-connector/). Otherwise, navigate to **Rules** > **Overview**.
- Next to **Origin Rules**, select **Create rule**, and then select **Host Header** > **Rewrite to**.
- If routing traffic to an object storage bucket, use [Cloud Connector](/rules/cloud-connector/). Otherwise, go to **Rules** > **Overview**.
- Select **Create rule** > **Origin Rule**, and then select **Host Header** > **Rewrite to**.
- Configure the rule to modify the Host header to desired hostname:

<Example>
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/rules/reference/page-rules-migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Render, TabItem, Tabs, Example } from "~/components";

Cloudflare is continuously improving its platform to deliver more powerful and scalable tools for managing your configurations. To help you take full advantage of these improvements, we recommend using [modern Rules features](/rules/) for new implementations. These products address the limitations of Page Rules while providing greater flexibility, scalability, and ease of use.

For a quick start, explore the one-click templates available in the Cloudflare dashboard in **Rules** > **Templates**. These templates simplify common configurations like redirects, rewrites and header modifications, making setup faster and easier.
For a quick start, explore the one-click templates available in the Cloudflare dashboard in **Rules** > **Overview**. These templates simplify common configurations like redirects, rewrites and header modifications, making setup faster and easier.

## Page Rules migration

Expand Down Expand Up @@ -73,7 +73,7 @@ becomes a **filter expression** such as:

To help you map existing Page Rules to modern Rules products, this table outlines how Page Rules settings translate to modern Rules and provides examples for common configurations.

Also, to streamline common configurations, the Cloudflare dashboard now includes dozens of one-click templates, available in **Rules** > **Templates**. These templates enable you to deploy commonly used features — such as redirects, rewrites, and header modifications — instantly, with pre-filled filter expressions and actions. Explore these templates in the dashboard for a faster setup.
Also, to streamline common configurations, the Cloudflare dashboard now includes dozens of one-click templates, available in **Rules** > **Overview**. These templates enable you to deploy commonly used features — such as redirects, rewrites, and header modifications — instantly, with pre-filled filter expressions and actions. Explore these templates in the dashboard for a faster setup.

| Page Rules setting | New implementation uses... | Migration/Replacement instructions |
| --------------------------- | ------------------------------------ | --------------------------------------------------------------------------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { Details, TabItem, Tabs, Render } from "~/components";

2. Go to **Rules** > **Overview**.

3. Next to **URL Rewrite Rules**, select **Manage URL Rewrite Rules** and go to the **Managed Transforms** tab.
3. Next to **Request Header Transform Rules** or **Response Header Transform Rules**, select **Go to Managed Transforms**.

4. Enable or disable the [desired Managed Transforms](/rules/transform/managed-transforms/reference/) by selecting the toggle next to each entry. The Cloudflare dashboard will only list available Managed Transforms according to your Cloudflare plan and product subscriptions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To create a rule:

2. Go to **Rules** > **Overview**.

3. Next to **Request Header Transform Rules**, select **Create rule**.
3. Select **Create rule** > **Request Header Transform Rule**.

4. (Optional) Select one of the rule templates that address common use cases. Then, review and adjust the proposed rule configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To create a rule:

2. Go to **Rules** > **Overview**.

3. Next to **Response Header Transform Rules**, select **Create rule**.
3. Select **Create rule** > **Response Header Transform Rule**.

4. (Optional) Select one of the rule templates that address common use cases. Then, review and adjust the proposed rule configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To create a rule:

2. Go to **Rules** > **Overview**.

3. Next to **URL Rewrite Rules**, select **Create rule**.
3. Select **Create rule** > **URL Rewrite Rule**.

4. (Optional) Select one of the rule templates that address common use cases. Then, review and adjust the proposed rule configuration.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ You can create Bulk Redirect Lists and Bulk Redirect Rules in the Cloudflare das
- At the account level, in **Bulk Redirects**.
- At the zone level:
1. Go to **Rules** > **Overview**.
2. Next to **Redirect Rules** select **Manage Redirect Rules**.
3. Select the **Bulk Redirects** tab.
2. Next to **Redirect Rules** select **Go to Bulk Redirects**.

However, the lists and rules only exist at the account level and every zone in the same account will show the same items.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Render } from "~/components";

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account and domain.
2. Go to **Rules** > **Overview**.
3. Next to **Redirect Rules**, select **Create rule**.
3. Select **Create rule** > **Redirect Rule**.
4. (Optional) Select one of the rule templates that address common use cases. Then, review and adjust the proposed rule configuration.
5. Enter a descriptive name for the rule in **Rule name**.
6. Under **When incoming requests match**, select one of the following options:
Expand Down
2 changes: 1 addition & 1 deletion src/content/partials/rules/rules-templates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{}
---

Cloudflare provides you with rules templates for common use cases. In the dashboard, go to your zone > **Rules** > **Templates** and select one of the available templates. You can also refer to the [Examples gallery](/rules/examples/) in the developer docs.
Cloudflare provides you with rules templates for common use cases. In the dashboard, go to your zone > **Rules** > **Overview**, select **Templates**, and then select one of the available templates. You can also refer to the [Examples gallery](/rules/examples/) in the developer docs.
Loading