Mobile redirect to amp

Hello, can you tell me if i can somehow set up a redirect to amp pages for mobile phones and tablets without turning off Cloudflare caching?

I don’t use subdomain for amp pages, they are available via GET parameter ?amp for SEO reasons.

Example of redirection i want: =>
https:// lepkov . ru/request_uri => https:// lepkov . ru/request_uri?amp

You can use the Page Rules to create an URL Forwarding:

But I’m afraid you won’t be able to redirect https:// lepkov . ru/* to https:// lepkov . ru/$1?amp as it would create a redirect loop…
You might want to consider Workers for this use case:

This topic was automatically closed after 30 days. New replies are no longer allowed.