From 2ec002723df0bf837428b2250baf551575aa5278 Mon Sep 17 00:00:00 2001 From: Pedro Sousa <680496+pedrosousa@users.noreply.github.com> Date: Mon, 30 Dec 2024 11:48:49 +0000 Subject: [PATCH] [Rules] Fix broken anchor --- src/content/docs/rules/reference/page-rules-migration.mdx | 5 +++-- .../partials/rules/page-rules-cache-rules-difference.mdx | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/content/docs/rules/reference/page-rules-migration.mdx b/src/content/docs/rules/reference/page-rules-migration.mdx index 1f778a2dd9c940..2de656a697bfa9 100644 --- a/src/content/docs/rules/reference/page-rules-migration.mdx +++ b/src/content/docs/rules/reference/page-rules-migration.mdx @@ -18,7 +18,7 @@ To make the transition seamless, Cloudflare will handle the migration of your ex If you wish to explore the benefits of modern Rules features sooner, you can begin adopting them today. Doing so allows you to: - Take advantage of modern features and capabilities sooner. -- Customise and refine your rules to match your evolving needs. +- Customize and refine your rules to match your evolving needs. To assist with this process, we provide you with a comprehensive mapping between Page Rules settings and modern Rules products in this guide. @@ -54,11 +54,12 @@ The following example demonstrates the use of the [`http.request.full_uri`](/rul A **Page Rules URL** like: -`example.com/*/downloads/*.txt` +`example.com/*/downloads/*.txt` becomes a **filter expression** such as: `http.request.full_uri wildcard "http*://example.com/*/downloads/*.txt*"` + [Single Redirects](/rules/url-forwarding/single-redirects/create-dashboard/) and [Rewrite URL](/rules/transform/url-rewrite/create-dashboard/) rules also offer a simplified view called **Wildcard pattern**, allowing you to specify URL patterns (`http*://example.com/*/downloads/*.txt*`) without specifying the full filter expression (`http.request.full_uri wildcard "http*://example.com/*/downloads/*.txt*"`). diff --git a/src/content/partials/rules/page-rules-cache-rules-difference.mdx b/src/content/partials/rules/page-rules-cache-rules-difference.mdx index 97274f48743dbb..f346234d5fa68c 100644 --- a/src/content/partials/rules/page-rules-cache-rules-difference.mdx +++ b/src/content/partials/rules/page-rules-cache-rules-difference.mdx @@ -1,9 +1,9 @@ --- {} - --- :::caution -The default behavior of Cache Rules is different from Page Rules. Refer to [Behavior change in Cache Rules](#behavior-change-in-cache-rules) for more information. +The default behavior of Cache Rules is different from Page Rules. Refer to [Key differences](#key-differences) for more information. + :::