Cloudflare Docs
Rules
Rules
Visit Rules on GitHub
Set theme to dark (⇧+D)

Redirects

URL forwarding, also known as URL redirection, navigates the user from a source URL to a target URL with a specific HTTP status code.

Use the following Cloudflare products to perform URL redirects, according to your use case:

  • Single Redirects: Allow you to create static or dynamic redirects at the zone level. Dynamic redirects are advanced URL redirects, such as redirects based on the source country of requests. Depending on your Cloudflare plan, you can use regular expressions to define the redirect URL.

  • Bulk Redirects: Allow you to define a large number of redirects at the account level. These URL redirects are essentially static — they do not support string replacement operations or regular expressions. However, you can configure parameters that affect the redirects’ URL matching behavior and their runtime behavior.

​​ Availability

Single Redirects and Bulk Redirects are available on all Cloudflare plans. The exact quotas and features depend on your plan.

​​ Bulk redirects

Free Pro Business Enterprise

Availability

Yes Yes Yes Yes

Bulk Redirect Rules

15 15 15 50

Bulk Redirect Lists

5 5 5 25

URL redirects across lists

20 500 500 10,000

For URL redirects across lists, this table provides the default quota for the Enterprise plan. Bulk Redirects supports several million URL redirects — to get more redirects, contact your account team.

Bulk Redirects features and quotas are per account and they depend on the highest Cloudflare plan on your account.

​​ Single Redirects

Free Pro Business Enterprise

Availability

Yes Yes Yes Yes

Number of rules

10 25 50 125

Regex support

No No Yes Yes

Single Redirects features and quotas are per zone and depend on the zone plan.

​​ Execution order

The execution order of Rules products is the following:

The different types of rules listed above will take precedence over Page Rules. This means that Page Rules will be overridden if there is a match for both Page Rules and the Rules products listed above.