- This topic is empty.
-
AuthorPosts
-
May 23, 2024 at 8:00 am #25014
Kathryn
GuestThis has been driving me crazy. They are getting rid of the Page Rules. And new the Redirect Rules does not support the
*wildcard and$1target syntax anymore and there is no option for this in the drop down regex.May 23, 2024 at 8:02 am #25015Nicholas
GuestDo you have to pay for this now? What happened? NO EXPLANATION
May 23, 2024 at 8:05 am #25016Kenneth
GuestI can’t find it right now. But I saw in the Developer docs a few days ago that wildcards are now only supported in the Business or Enterprise plan. Not sure if it’s accurate. But I saw them say it somewhere like that.
May 23, 2024 at 8:06 am #25017Christopher
GuestI see only:
https://developers.cloudflare.com/rules/page-rules/reference/wildcard-matching/
Page Rules are deprecated. You should consider alternative Rules options due to their enhanced configurability. Refer to the migration guide for details.
May 23, 2024 at 8:09 am #25018Logan
Guesthttps://community.cloudflare.com/t/static-vs-dynamic-redirects/584719/5
“Redirect Rules/Ruleset Engine does not support wildcard characters like that.
There is regex/matches support, but only for Business Plans or higher.”welp.
May 23, 2024 at 8:09 am #25019Amber
GuestGIVE US BACK OUR WILDCARDS CLOUDFLARE
May 23, 2024 at 8:15 am #25020Christopher
Guestthere’s a workaround using
concatandsubstringbut it’s pretty ugly and it doesn’t work as well in my tests, a CF employee mentions it on their forum.Filter expression:
(starts_with(http.request.uri.path, "/old-path/"))Dynamic URL redirect expression:
concat("/new-path/", substring(http.request.uri.path, 10))where start byte value (10 in my example) is the length of the old path.
source
https://community.cloudflare.com/t/dynamic-wildcard-redirect-rule/657658/2May 23, 2024 at 8:16 am #25021May 26, 2024 at 6:15 am #25053Frances
Guestwow, looks easy! /s
🥺
May 28, 2024 at 6:14 am #25078Angela
GuestI really hope they make a UI option for this, because it’s too difficult
-
AuthorPosts