Work with Transform Rules
You can perform the following operations in the Transform Rules page:
- Create new Rewrite URL Rules, HTTP Request Header Modification Rules, and HTTP Response Header Modification Rules.
- Configure Managed Transforms.
- View a list of existing rules (both active and paused).
- Activate or pause rules (turn on or off).
- Edit rules.
- Delete rules.
- Reorder rules.
Create rules
In Transform Rules you can create the following rules:
Refer to each linked section for details on creating each rule type.
Manage rules
Manage your existing Transform Rules using the toggle and the links located on the right of the rule you want to change, or by using the handle located on the left of the rule.
Enable or disable a rule
Select the on/off toggle associated with a Transform Rule to enable or disable it.
Edit a rule
Select Edit to open the Edit Rule panel and make the changes you want.
Delete a rule
Select Delete next to the existing rule you want to remove. In the confirmation dialog that appears, select Delete to confirm and complete the operation.
Order rules
Cloudflare evaluates each type of Transform Rules in list order, where rules are evaluated in the order they appear in the Rules List. You can drag and drop Transform Rules into position to reorder them using the handle on the left of the rule.