Mobile redirect from subdomain to another subdomain

Hello everyone,

I have a domain : and a subdomain

I want to redirect mobile users from to

How can I achieve that ?

Thanks by advance

So the easiest way is with Cloudflare mobile redirect (

It sounds like you are wanting to do some custom domain (instead of or to a mobile url. My guess is the best way to do that is via a cloudflare worker. If you checkout, at the bottom is an example of checking request.headers.get(“CF-Device-Type”) for “mobile” and redirecting accordingly.

Good luck!

1 Like

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