This quick tutorial demonstrates how to disable AMP on a single WordPress or even WooCommerce page with AMP plugin.
To start things of, this tutorial is probably going to be the shortest I’ll ever write. Nevertheless, I think it is useful to put it on the blog as this might be important working on the actual projects, which need features incompatible with AMP. As of this date, I haven’t found a way to disable AMP on a single page without AMP for WordPress plugin. Despite that, I think it might be irrelevant because I imagine almost everybody, who has a need to disable AMP on a single page is probably not building AMP website without it anyway.
There might be various reasons to disable AMP on a single page. I find it very useful, when dealing with WooCommerce on AMP-friendly websites, but it could be a pop-up or something else. You might be wondering why bother with AMP at all? Speed and simplicity is the answer. While despite the popular beliefs, AMP pages doesn’t get better results on Google Search for simply being AMP, but website speed does affect this. User Experience matters a lot as well, thus having those ultra-fast AMP pages on your website anywhere you can, might be a game changer.
Disabling AMP on a single website actually couldn’t be more simple. All you need to is to go to the page/post/product you want AMP to be disabled on and change the status from “Enabled” to “Disabled”.
This actually all you need to do. In can you are building your own AMP theme, like I always do, you’ll most likely going to need to do some extra clean up to make sure everything is working just as intended.
Though disabling AMP on one or another page might open up the possibility of mobile-first AMP website in the first place, doing so on too many of your website’s pages might just complicate things too much. If you can’t achieve the desired results on your own, consider to hire an AMP professional developer.
WordPress 5.5.3
AMP 1.5.5
WooCommerce 4.6.1.