Choosing between AMP or PWA is a really difficult dilemma. You want your website to load instantly after it’s clicked from the Google Search results, but you also want to make your blog look like a native app and prompt users to add your website to their home screens. It’s kind of tricky to activate both, but there’s a way to easily harness the power of both Progressive Web Apps and Accelerated Mobile Pages in WP.
Wondering how to use the lightning fast AMP and the awesome PWA at the same time in your WordPress blog, here are two WP plugins that are compatible with each other. You just need to install them in the right order.
There are many AMP plugins out there, but this one does its job really well. Surprisingly, this is not the “official” AMP plugin for WordPress by Automattic. The plugin I recommend is the second most popular called AMP for WP – Accelerated Mobile Pages by Ahmed Kaludi and Mohammed Kaludi. This one: https://wordpress.org/plugins/accelerated-mobile-pages/
Install the AMP plugin first, set it up (There’s a newbie mode and expert mode, it’s up to you what setup option you want). Then once you’re done, install the PWA plugin that I mentioned in this post. After installing the PWA plugin, go to Settings > Super PWA > Scroll down a bit, then tick “Use AMP version of the start page”.
That’s it. You have enabled both PWA and AMP in your WordPress site. It doesn’t show the add to screen prompt on user’s first visit from Google SERPs, but you can disable the “Automatically add AMP at the end of menu url” and disabled “Mobile Redirection” in AMP > Advance Settings, so that when the user clicks on the menu link or any link, he/she will be redirected to a normal non-AMP page and that the magical PWA prompt will trigger.
Try it, it’s fun to explore these two awesome plugins.
If you're already an expert in "Progressive Web Apps" and you already have a mobile…
Yep, you read it right. The Philippine currency (PHP / Pesos) ranked 5th in the…
If you're using Coins.ph to convert your BTC to Philippine Pesos like me, then you…
If you're already trading cryptos, then this post is NOT for you. This is a…
I love Coins.ph, it's convenient to buy mobile load, pay bills, and to send cash…
February 1, 2018 UPDATE The ETH wallet in the coins.ph Android app is now open…
View Comments
I really hate AMP, but I studying implement PWA, sounds good, by the way, in other post, you recommended HHVM (sounds good too), but your TTFB is too slow, are you still using it?
yep..., its dilemma..
Its hard picking which one... responsive theme or amp or pwa or all.
amp does not show some ads
So may I ask are you using this solution on this site
I dislike AMP as well just because it is difficult and means coding a whole new solution if you hand-code. Then once you learn a new solution, it is likely to be dumped for the next big thing. So if the WordPress plugins mentioned do the job as described properly that is a huge win.
Is this mentioned solution used on this site?