Cloudflare Docs
Rules
Rules
Edit this page 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

FreeProBusinessEnterprise

Availability

YesYesYesYes

Bulk Redirect Rules

15151550

Bulk Redirect Lists

55525

URL redirects across lists

2050050010,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

FreeProBusinessEnterprise

Availability

YesYesYesYes

Number of rules

102550125

Regex support

NoNoYesYes

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.

​​ Troubleshooting

When troubleshooting URL redirects, use Cloudflare Trace Beta to determine if a rule is triggering for a specific URL.