Add Edge Redirector rules

Cloudlets rules determine what Edge Redirector does when an incoming request meets a set of criteria. You can use Cloudlets Policy Manager to add rules, or you can add them using a CSV file.


You can add up to 5000 rules to a Cloudlets policy.

If your rules aren't working as expected before the 5000 limit, try running the Policy Analysis Tool first. Then, contact support if you can't resolve the issue. You may have hit a cost limit.

How to

  1. Go to > CDN > Edge logic Cloudlets.

  2. On the Cloudlet Policies screen, click the name of the policy you want to add rules to.

  3. On the Policy Details screen, click the version you want to update or click Create New Version.

  4. On the Version Details screen, click Add Rule.

  5. If you have administrative-level access and will be entering advanced match criteria, click Show Advanced Rule.

  6. Complete these fields on the Create a Rule screen:

Rule NameName this rule.
Always OnSelect if the rule is always applied.
Start Date/TimeEnter the start date and time for the rule.
End Date/TimeEnter the end date and time for the rule.
Redirect fields
Source URLIf you're not using advanced match criteria, enter the full web address for the redirect, including the protocol. Use URL encoded values for special characters, like umlauts and spaces.
Redirect URLEnter the full web address to redirect the source URL to, including the protocol. Use URL encoded values for special characters, like umlauts and spaces.
Redirect TypeSelect whether the redirect is permanent or temporary.
Copy Query StringSelect to include all query parameters from the source URL when forming the redirect URL.
Relative Redirect OptionsIf desired, select one of the following redirect options:

  • None. Requires a fully-qualified URL, with protocol, in the Redirect Path field.

  • Copy Protocol And Hostname. Creates an absolute path using the request's protocol and hostname and the path in the Redirect URL field. The response includes this absolute path in its Location header.

  • Use Relative Redirects. Takes the path entered in the Redirect URL field and sets it in the response’s Location header. The client or browser receiving the request decides which protocol and hostname to use.
  • Advanced criteria
    Match TypeSelect the match type to use for this rule.

    Enter any operators or match criteria needed for the match type you choose.

    See Review available match types for Edge Redirector for more information.
    1. If you want to add another rule, click + in the match section.

    2. Click Save Rule. The new rule displays first on the Version Details screen.


    Cloudlets Policy Manager evaluates rules from top to bottom. The first rule that matches wins.

    1. If you have a large number of rules, review ways to group rules for certain match types.

    2. Activate the policy.