My previous DNS host allows 301 and 302 redirects for A records through their simplistic interface. When I added my domain to Cloudflare, it ignored those HTTP redirect records on the import. Even though a DNS host providing redirect capability is beyond DNS hosting typically, I figured I’d ask. Is there a comparable way to accomplish HTTP/HTTPS redirects with the Cloudflare service without having to do the redirects internally on one of my own servers?
You can use Page Rules to do redirects on Cloudflare. You get 3 page rules free and more on paid plans.
Alternatively, you could implement your redirects with Workers:
Thanks! That’s exactly what I’ll use to handle that. The rules look pretty intuitive as well with ordering.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.