Hit enter to search or ESC to close
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.
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.
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.
Configure the following settings using the plugin’s Setup Settings panel:
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.
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.
Open the SEO section of AMP for WP’s Settings Panel, and add the following code snippet to the Head section:
Save your changes, and wait a week or two. This gives Google enough time to stop indexing your AMP-enabled pages.
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:
Select Redirection as a group, then click Add Redirection.
To test the redirection, simply load one of your AMP pages to see if it redirects you to the non-AMP version instead.
About the author