How To Enable Or Disable Google AMP In WordPress

Do you really wish to setup Google AMP on your WordPress site? Here is how to properly setup AMP on your WP website.

AMP stands for Accelerated Mobile Pages. AMP is a Google project designed to make websites load faster on mobile devices.

google amp for wp

The open-source initiative was developed to help content publishers to easily improve speed, performance and user experience for their mobile device users without sacrificing their sweet ad revenue.

For many mobile internet users, reading on the web is often slow. Most content rich pages take several seconds to load despite all efforts taken by site owners to speed up their website.

How AMP Work

Accelerated Mobile Pages or Google AMP make use of less HTML and extremely limited Javascript code. This allows the content to be hosted on Google AMP Cache. Thereafter, Google can then serve the instant cached version to users when they click on your link in the search results.

Unlike Facebook Instant Articles, Google AMP is platform independent and as such, can be used by any app, browser, or web viewer. While Instant Articles are limited only to Facebook’s platform, AMP however, is used by Google, Twitter, LinkedIn, Reddit, and host of others.

How to Enable AMP in WordPress

To get started, head over to the AMP-WP plugin page to download the WordPress plugin or install it right away. You can install the plugin on your WordPress site just as you would any other WordPress plugin.

Once it’s installed, it will automatically append “/amp/” to an article page url. But, if you don’t have nice permalinks, it can alternatively append “?amp=1” instead. Remember to update the Permalinks page to avoid occasional 404 error.

If you view the source code of the original post, you will afterward find this line in the HTML:


http://www.example.com/2017/11/blog-post-name/amp/

This line tells search engines and other AMP related apps/services where to look for the AMP version of the page.

amp example page
Google AMP active mobile page

How to Disable Google AMP in WordPress

Many websites thrive on user interactions, like social widgets, user ratings, comments, subscription, and so on. Google AMP makes it quite difficult for website owners to keep users engaged and interact with their content. This has become the major reason why many bloggers are pulling out of Google AMP. Contrary to popular belief anyway, Google does not penalize websites for not implementing AMP.

So, do you want to disable Google AMP in your WordPress site for whatsoever reason? The challenge however, is that disabling AMP is not as simple as it was when implementing Google AMP. In this article, you will learn how to properly disable Google AMP in WordPress. First thing first:

Deactivate the AMP Plugin
You need to do is to deactivate the AMP plugin. Simply visit the plugins page and click on the deactivate link below AMP plugin.

Setup Url Redirection
Disabling the AMP plugin will remove the AMP version of your articles from the website. but what about the Google cached pages?

So, go ahead and install and activate this simple WP Redirection plugin. Upon activation, go to the Redirection setting page via Tools to set up the redirect parameters.

Then, add the following code into the source URL field:

/(.*)/amp

And add the following into the target URL field, replacing “example” with your actual site url.

http://example.com/$1

I hope this article helped you to properly enable or disable Google AMP in WordPress. You may also wish to compare the advantages and disadvantages of AMP.

MORE TO READ:

01: 2 Ways To Remove WordPress Search From Your WP Powered Site

Thanks for the info. Very sorry but I still want to try Google AMP out….
But am seeing 404 error after installing and configuring the Amp wordpress plugin. How can I proceed to properly implement AMP?

0 Like Like Quote Report
0 Like Like

Great

Just visit Setting > Permalinks and then click save to update the setting.

0 Like Like Quote Report
0 Like Like