Conflict with Google Accelerated Mobile Pages (AMP)




Wordpress LScache Plugin: Conflict with Google Accelerated Mobile Pages (AMP)

Last Updated on: Wed, 15 Apr 2026 00:00:02
I use AMP for WP plugin to have Google Accelerated Mobile Pages on mobile devices for my WordPress site. However the LiteSpeed Cache plugin is conflicting with the AMP plugin: when it is activated either on mobile devices the desktop version is shown (without appending /amp to the url) or also on desktop computers the mobile amp version is showing (appending /amp to the url). Can you suggest me a setup for the cache plugin to avoid this conflict? Hi, tropauer Just to confirm: are you saying that desktops are showing the mobile version (w/AMP) and mobile devices are showing the desktop version? Essentially, the two versions are being switched? Also, AMP for WP? Not the Automattic AMP plugin? Hi Lisa, I confirm that the conflict is with AMP for WP, wich is standalone now, the Automattic AMP plugin is not even installed on my website. I think that the AMP and non-AMP versions are not switched, but the first version cached is served both desktop and mobile browsers, and it depends on the type of the first visit after the cache is emptied. However my hosting provider found a solution that seems working perfect. They have enabled for me a separate mobile cache: LiteSpeed Cache Settings page, then Cache -> Cache Control Settings -> Cache Mobile and toggled that to On , then hit Save Changes . Perfect. I was going to ask if you had tried that. Thanks for letting me know!



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference