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.
Note: 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:
    Field Description
    General
    Rule Name Name this rule.
    Always On Select if the rule is always applied.
    Start Date/Time Enter the start date and time for the rule.
    End Date/Time Enter the end date and time for the rule.
    Redirect fields
    Source URL If 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 URL Enter 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 Type Select whether the redirect is permanent or temporary.
    Copy Query String Select to include all query parameters from the source URL when forming the redirect URL.
    Relative Redirect Options If desired, select one of the following redirect options:
    • None. Requires a fully-qualified URL, with protocol, in the Redirect URL 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 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 Type Select the match type to use for this rule.

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

    See Cloudlets Match Types for more information.

  7. If you want to add another rule, click + in the match section.
  8. Click Save Rule. The new rule displays first on the Version Details screen.
    Important: Cloudlets Policy Manager evaluates rules from top to bottom. The first rule that matches wins.
  9. If you have a large number of rules, review ways to group rules for certain match types.