Cloudflare Bulk Redirect and my Domain Name Registration Site

For my client’s site I’m managing The-Online.com (a domain-registration web-hosting company)

==================================================================

For that I’m using Cloudflare “Bulk Redirect” feature. To forward non-http and www. URLs to main site https://the-online.com/

My domain is naked url: https://example.com/

I’ve created 3 redirect rules in the list of Cloud-flare “Bulk Redirect”. Those 301 redirects are as follows:

http://example.com/* to https://example.com/*
http://www.example.com/* to https://example.com/*
https://www.example.com/* to https://example.com/*

Here’ while redirecting from http://www.example.com to https://example.com I’m seeing the following path:

  1. 301 redirect from http://www.example.com to https://www.example.com
  2. 301 redirect from https://www.example.com to https://example.com
  3. 202 status https://example.com

My question is: If I’ve instructed the redirect path to be: http://www.example.com to https://example.com (in Bulk Redirect feature), then why it is returning additional 301 redirect (as shown in point number 2 above.)

How to directly redirect from http://www.example.com to https://example.com without hitting https://www?

I guess * doesnt work in bulk redirect secondly use the options. Then don’t mention http or Https then it eill automatically apply for both

2 Likes

Hi,
I tried to remove /* and set direct URL, but same results are returend.

Let me tell, I had same issue so what I didn’t mention Https or http then use www.example.com to https://example.com

1 Like

Example

1 Like

Okay, this one thing is working:

I added: www.example.com (without http and withouth https) and redirected to https://example.com

Now I see only single 301 redirect:
http://www.example.com redirecting to https://example.com

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.