In short. Use the WP Engine User Portal to copy selected rule types or one rule, choose the beginning or end of the destination list, and account for skipped duplicates.
Definition: WP Engine Web Rules copying transfers selected access, header, or rewrite rules from one environment to other environments through the User Portal. The bulk workflow lets you place the copied rules at the beginning or end of the destination list, while duplicate destination rules are skipped.
Key facts
- WP Engine documents copying Web Rules between environments on the same account, with rules copied as-is and access, header, and rewrite rules included. Its Web Rules Engine documentation describes the operation.
- The bulk workflow lets an agency select one or more rule types, and copies all rules of those selected types that exist on the current environment.
- The destination step can cover accounts and their environments, and the insertion choice is the beginning or the end of each chosen destination list.
- Duplicate rules already present in a destination are skipped to avoid conflicts. WP Engine advises cleaning up both source and destination rules before copying.
- Web Rules are evaluated from top to bottom, with earlier rules taking priority. Rewrite processing uses the first rule whose conditions match the request.
Which rule types can an agency copy?
The bulk copy flow starts from the environment on the Sites page and offers three rule types: Access rules, Header rules, and Rewrite rules. Selecting a type copies all rules of that type from the current environment. The same documentation also describes copying one rule from its three-dot menu with Copy to target environments, so an agency can choose between a type-level transfer and a single-rule transfer.
The portal labels the bulk operation and its selectable rule types as follows:
Copy web rules
Access rules
Header rules
Rewrite rules
Copy Rules
For a single rule, the destination flow still allows one environment or multiple environments. WP Engine's documentation says the copy can target environments associated with selected accounts, after which the destination environments are selected.
How does insertion order affect the copied rules?
The bulk and single-rule workflows both offer insertion at the beginning or the end of the rules already present in the chosen environments. WP Engine's Web Rule order guidance states that rules are read from top to bottom and that rules read first take priority.
This order matters when rules overlap. The documentation gives an access-rule example in which an allow rule for one IP must precede a block rule for the wider IP range. For rewrite rules, the first rule whose conditions are met takes effect, and a more general rewrite placed above a specific rewrite can affect the URL before the lower rule is reached. Rules can be rearranged with drag and drop, or a new rule can be added relative to another rule.
How are duplicates and environment copies handled?
WP Engine states that duplicate rules on the destination environment are not copied, so the copy does not create conflicts. The same page recommends cleaning up the source and destination before the operation. This is duplicate handling for Web Rules, rather than a replacement of the destination rule list.
The distinction matters when an agency uses the broader Copy Environment tool. WP Engine's Manage Sites and Environments documentation says User Portal configurations are not copied by that tool, and its list identifies Web Rules as something that can be duplicated from the User Portal. For Web Rules, the documented route is therefore the Web Rules copy flow described above.
FAQ
Can you copy only rewrite rules?
Yes. In the bulk flow, select Rewrite rules and the copy includes the rewrite rules present on the current environment.
Does copying a rule replace the destination rules?
No. You choose whether to add the copied rules at the beginning or end, and duplicate destination rules are skipped.
Does Copy Environment also copy Web Rules?
No. WP Engine separates that tool from Web Rules duplication in the User Portal.
Related terms
- Where should an allowed IP appear relative to a WP Engine blocking rule?
- How can WP Engine apply a response header rule to selected requests?
- Which WP Engine rewrite rule runs when several rules match a URL?
Sources
- WP Engine, "Configure Web Rules Engine", 2 March 2026
- WP Engine, "Manage Sites and Environments", 26 August 2026
Check how a page reads to answer engines. Open the GEO score analyzer