Bobcares

Bulk redirect in Cloudflare – How to create via dashboard

by | Mar 4, 2022

Bulk redirect in Cloudflare has been made easy with this handy guide courtesy of our in-house experts.

At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Services.

Let’s take a look at how our Support Team is ready to help customers with Bulk redirects in Cloudflare.

All About Bulk redirect in Cloudflare

Bulk directs are responsible for defining a larger number of redirects at the account level. These redirects work by navigating the user from a source URL towards a target URL via the given HTTP status code. Furthermore, bulk redirects are static.

In other words, bulk redirects do not support any regular expressions or string replacement operations. Despite that, our Support Engineers would like to point out that we can configure URL Redirect parameters that have been affecting the URL matching behavior as well as runtime behavior.

What are the Bulk redirect concepts in Cloudflare

According to our Support Team, Bulk Redirects consists of elements seen below:

  • URL Redirect:

    A URL Redirect is a simple object with a target URL. A source URL, redirect parameters as well as a status code. Additionally, URL Redirects form the list items in Bulk Redirect Lists.

  • Bulk Redirect List:

    This list is identical to an IP list. It consists of one or more URL Redirects. In order to enable these URL Redirects, we have to reference the list present in a Bulk Redirect Rule. Moreover, different Rules may refer to the same List.

  • Bulk Redirect Rule:

    This rule is almost the same as the Transform Rule. Furthermore, a Bulk Redirect Rule has a linked Bulk Redirect List.

Bulk redirect in Cloudflare

How do create Bulk Redirects via Cloudflare

If you are looking for a way to create Bulk Redirects, our Support Team has your back.

  1. First, create a Bulk Redirect List.
  2. Next, add the URL Redirects to the list from the previous step.
  3. Finally, create a Bulk Redirect Rule. This enables the URL Redirects in the list from step 1.

How to create Bulk Redirect List via Cloudflare

  1. First, log in to and select the account on the Cloudflare dashboard.
  2. Next, head to Account Home > Bulk Redirects.
  3. Then, select Create a new Bulk Redirects list. This takes us to the Lists page. Here we have to select Create new list.
  4. Now it is time to enter the list name as well as description. Then choose Redirect as the content type.
  5. Finally, click Create.

How to add URL Redirects to the list

We can either add URL Redirects manually or by importing a CSV file. Let’s take a look at both these options:

  • Adding URL Redirects manually:
    1. First, navigate to Add items to list and enter the URL Redirects we prefer. We have to enter information in at least these three fields: Target URL, Source URL, and Status.
    2. Next, we add additional URL Redirects if needed.
    3. Finally, click Add to list.
  • Importing a CSV file with URL Redirects:
    1. First, click the Upload CSV button and select the CSV file with the URL Redirects we want to upload.
    2. Now, we will be able to the URL Redirects on the dashboard. We can opt to manually adjust the records if we wish to do so at this point.
    3. Finally, click Add to list.

How to create a Bulk Redirect Rule to enable the redirects in the list

  1. Next, head to Account Home > Bulk Redirects.
  2. Then, select Create Bulk Redirects and enter a rule description.
  3. After that, choose the Bulk Redirect List created earlier.
  4. We can opt to edit the list key or rule expressions at this point.
  5. Finally, click Save and Deploy. We can also click Save as Draft if we do not want to deploy the rule.

Troubleshooting tips

Our Support Team suggests keeping a lookout for these common errors:

  • Error 10043: Source URL in the redirect is too long:

    This error is a result of a long source URL value of a URL redirect. Reducing the source URL to below 32,768 characters will resolve the error.

  • Error 10045: Invalid redirect source URL:

    This error arises when the URL redirect has an invalid source URL. We can fix the issue by specifying a valid source URL.

[Looking for a solution to another query? We are just a click away.]

Conclusion

To sum up, our skilled Support Engineers at Bobcares demonstrated how to go about Bulk redirects in Cloudflare.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

2 Comments

  1. Warren O

    Hi Nikhath, thanks for the article.
    We have 287,000+ urls to redirect from the old domain to a new domain, mostly images.
    Is it possible to setup this many redirects on Cloudflare or elsewhere?
    Many thanks
    Warren

    Reply
    • Hiba Razak

      Hi,
      Please contact our support team through live chat (click on the icon at right-bottom).

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.