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:
- 301 redirect from http://www.example.com to https://www.example.com
- 301 redirect from https://www.example.com to https://example.com
- 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?