AMP or PWA? Why not AMP + PWA!

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:

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.

6 thoughts on “AMP or PWA? Why not AMP + PWA!

  1. 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?

  2. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.