Wednesday, May 18th, 2022

How to Enable and Disable Google AMP in WordPress?

Do you want an easy way to take advantage of Google’s accelerated mobile page structure? In this tutorial, we show you in Hindi how to Enable / Disable Google AMP on your WordPress site.

However, many publishers have experienced a drop in conversion rates due to technical issues after enabling Google AMP, so we’ll also show you how to disable Google AMP.

How to Enable Google AMP in WordPress? How to Enable Google AMP in WordPress Website?

1. Install Google AMP WordPress Plugin

Warning: these plugins Google AMP automatically integrates with your site and will cause 404 Errors if you remove it without following the proper steps (such as Redirecting ). Do your research, and make sure Google AMP is right for your site before continuing.

Automattic has its own AMP plugin, but it has an average star-rating of 3.8 out of 5 stars and limited features, so we’ll be using a third party plugin instead. AMP For WP Review The average star-rating is 4.4 out of 5 stars and allows you to completely customize the look and behavior of the AMP page.

There is a free version of AMP for WP, so you can install this amp plugin by Kaludi brothers from WordPress admin.

install amp for wp wordpress plugin

When prompted, select a setup option. We will be using Advanced setup for the purpose of this tutorial. When the AMP Plugin is activated, the plugin automatically adds Google AMP to your site. Open one of your latest posts and add “/amp” to the end of its URL, then refresh to see how the plugin has implemented AMP on your site.

2. Configure Basic Settings | Configure Basic Settings

Configure the following settings using the plugin’s Setup Settings panel:

  • Where do you need an amp? – Select the post types you want to optimize with AMP.
  • design and presentation – Add a logo in 120 x 90px format, and assign a global color to use on all AMP pages.
  • analytics tracking – Add Tracking ID for multiple analytics tools.
  • Privacy settings – Enable the cookie notification bar if your site uses them, and if relevant let users know that your site is GDPR compliant.
  • third party compatibility – Set up your SEO plugin (nine integrations to choose from), Elementor, Structured Data, Ads for WP and integration with PWA for WP.
amp to wp setupamp to wp setup

3. Configuring Additional Settings

There are many different settings you can configure in AMP for WP. For example, if you share your content on Facebook, you’ll probably want to go to the SEO settings page and enable the OpenGraph meta tags option.

If you already have a minify and caching solution installed, you may also want to disable the minify option in the Performance section if your solution is compatible with AMP for WP. Filter out the rest of the technical settings, and go to your site. Configure any settings that apply.

Another important aspect that you can customize even further is the design. For example, you can use the theme if you purchase a premium license for at least $149/year.

You can also customize styles for links, buttons, typography, your sidebar, social sharing, and more.

How to disable Google AMP in WordPress? How to disable Google AMP in WordPress?

Unfortunately, disabling Google AMP for your WordPress site is not as easy as deactivating and removing the plugin that you used to implement it. You’ll notice this as soon as you try to load a non-AMP version of a page for which you’ve implemented amp and are redirected to a 404 error page instead.

Also, the entire deactivation process can take up to two weeks as you will have to wait until Google stops indexing your AMP-enabled pages.

pay attention: This method is optimized for AMP for WP.

Step 1: Stop Google from Indexing AMP Pages

Open the SEO section of AMP for WP’s Settings Panel, and add the following code snippet to the Head section:

amp for wp seo no index

Save your changes, and wait a week or two. This gives Google enough time to stop indexing your AMP-enabled pages.

Step 2: Deactivate the Plugin, and Set Up Redirects

Deactivate and remove the AMP for WP plugin once indexing becomes slow. Next, install a free plugin called Redirection as an easy way to fix 404 page errors left by AMP.

Go through the setup wizard, then go to the Redirection section. Add this snippet of code to the Source URL field to set up redirects for all AMP-enabled pages instead of one, and choose Regex as the URL option:


Add the URL of your domain in the Target URL field, but add “/$1” at the end:$1

Select Redirection as a group, then click Add Redirection.

redirect wordpress plugin

To test the redirection, simply load one of your AMP pages to see if it redirects you to the non-AMP version instead.