Mobile Redirection – AMP With Cloudflare
-
Hi guys,
I’m struggling to get ‘Redirect mobile visitors to AMP’ to play nice with Cloudflare and would appreciate any help…
When I first turned on mobile redirection it was working – but the redirect was very slow and you could see my theme’s regular mobile version loading for a few seconds before it resolved to the AMP version. I found this support thread with a similar issue.
I’ve tried using the plugin mentioned in that thread, but my problem then is that not all mobile redirects seem to work consistently. Whenever I try from my own mobile (signed out) everything seems to work as I would expect ie. the non-amp version redirects to the AMP version without me seeing any of my own theme’s mobile version.
However, when I try to test what other mobile screen might be seeing, by using sites like MobileMoxie Page-oscope for example, it seems like they are loading my theme’s mobile version without ever resolving to the AMP version.
And, if I try using Page Speed Insights to test the setup, Google seems to like the first view of a cleared-cache page, but on repeat attempts, it no longer sees the redirect.
I’m pretty sure it’s mainly to do with a conflict with Cloudflare. If I enable development mode in Cloudflare then the mobile redirect with AMP seems to work fine.
Do you know of any way to get things set up so that I can use both the AMP mobile redirect and Cloudflare at the same time?
Many thanks!
Barry
The page I need help with: [log in to see the link]
- The topic ‘Mobile Redirection – AMP With Cloudflare’ is closed to new replies.