I want to redirect visitor with specific user agent (*MSIE 8.0* for example) to a different page. It seems this is not possible with Cloudflare Page Rules. Is there any other way to achieve that using Cloudflare?

Hi [Customer Name],
You are correct cloud flares page rule do not suppport user-agent based redirection. However you can achive this functionality with cloudflare workers.
You can however deploy a Worker and bind it to the route you want to protect. This allows you full control over how requests are handled.
I have attached the documentation for cloudflare workers and headers below.
Workers Documentation
Headers Documentation
Let me know if you'd like help deploying this Worker or customizing the logic.

Thank you
Cloud Flare Support

Thought Process used
Developer documents, community forums

← Back to Home