How to create a redirect rule to redirect http AND https to https

What is the name of the domain?

i want to redirect callcenter.society.com to https://mysocietycallcenter.com

What is the issue you’re encountering

don’t arrive to create it

Use Redirect Rules: Redirect requests to a different hostname · Cloudflare Rules docs.

Wildcard pattern

  • Request URL: http*://callcenter.society.com/* (note the wildcard in http* — this will redirect both HTTP and HTTPS)

Then:

  • Target URL: https://mysocietycallcenter.com/${2}
  • Status code: 301
  • Preserve query string: Enabled
3 Likes

Thanks
it works fine

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