How to Disable Google AMP & Remove AMP Content from Google Search

Most of the users access the internet on their mobile phones. But, all the sites are not mobile friendly yet. Thus, Google started a project called AMP to make sure that the websites meet user expectations.

There were some rumors that Google is considering AMP as a ranking factor, but that is not true. Some bloggers have observed, their site loading quickly after enabling AMP. But on another hand, they lose user engagements, ads impressions, and newsletter sign-ups on mobile devices. That made their mind to disable AMP.

How to Disable Google AMP?

After considering the above situations, you are on the stage where you may feel like not to use AMP or disable Google AMP. But, in reality, you can’t turn it off. It’s because, when you do a Google search on your mobile device, Google detects that it’s a mobile device, and reroutes your search request through their AMP servers, and not through their regular servers.

Thus, it causes the link to become a link to Google’s AMP system. But, you can remove your AMP content from search results. Google even recommended a guide on How to Remove AMP contents from search results.

If this won’t help you, then don’t panic. There are other several ways too through which you can disable Google AMP.

Remove rel=”amphtml” output from the head:

Google detects AMP pages by rel=”amphtml”  markup link, which lies in the website header. To remove rel=”amphtml”, follow the below steps. Using regex, match the string and replace it with any value you want (keeping it blank will be great). To do so, Install & activate Real-Time Find and Replace plugin.

Real-Time Find and Replace

  • In tools section, click on Real-Time Find and Replace.
  • Click Use Regex.
  • In the find field, insert this query as it is
<link rel="amphtml" href="(.+)" >
  • Next, Go to replace field and keep it blank.
  • Click on Update.

Removing this markup means telling Google that we don’t have AMP version of the page or site. It makes Google ‘deindexes’ the page. Here a problem lies- Google may consider AMP version pages as duplicate URL for canonical.

The condition can take place because we have removed relational markup. What’s now? So, here we have to add the solution by using NOINDEX for removing AMP pages from Google Search. To do so,

  • Open AMP for WP plugin settings.
  • Click on SEO.
  • Add the following line of code in the head section for AMP page:
<meta name="robots" content="noindex,follow"/>

If you are not using AMP for WP plugin, then you can use Glue for Yoast SEO & AMP plugin to add above meta tag on your AMP pages.

  • Goto, SEO>> AMP
  • Design
  • Add the code in Extra code in <head>

Adding extra meta tags in AMP
Adding extra meta tags in AMP

Now, you are done with setting up NOINDEX for AMP page. But wait, without further process, you are done with the half process only. So, let’s move to additional steps. Next thing you have to do,

  • Go to Google Search Console.
  • Go to your Property and Sitemaps.
  • Check the box of XML sitemap and Click Resubmit.

Doing this means asking Google to NOINDEX your AMP pages and re-indexed over to the original URLs. It may take a few days to complete. Once you observed that your AMP has been disabled, you can disable & delete AMP plugin.

Disable AMP plugin and Add Redirects:

Deactivate AMP plugin and put the following code on .htaccess file in root directory. Follow this guide to edit .htaccess file on your server.

# Redirect from AMP to non-AMP page
RewriteRule ^(.*)\/amp$ $1 [R=301,L]

Conclusion:

I have implemented both tricks and found both works fine. I guarantee, applying one of it will not allow your visitor to experience 404 errors. Thus, your site will automatically get prior rank on search engine. If you are facing any problem while removing, feel free to ask in the comment section below.

ALSO READ

Subscribe to our newsletter

To be updated with all the latest news, offers and special announcements.

Comment Policy: Your words are your own, so be nice and helpful if you can. Please, only use your real name and limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

16 COMMENTS

  1. I use the theme newspaper. but after I update the theme and also the AMP plugin, in google webmaster still having a problem on AMP. is the AMP tagdiv plugin still problematic? or is there another way to solve the problem. please help. thanks.

  2. Sir, i have disabled amp on my site but in mobile search results google showing amp page again, here is the suffix of link ?amp_markup=1
    how to resolve this error??

  3. Hey Amit,

    Thanks for the article. The plugin (accelerated-mobile-pages) said that it is closed down and not available for download. Is there another way to use NOINDEX for removing AMP pages from Google Search? I’m stuck here.

    Thanks a lot

  4. Hello,

    I have uninstalled AMP for WordPress before reading your interesting piece of article.

    Hence, I cannot add NOINDEX in the head of the AMP posts… because they do not exist anymore.
    Is it a big problem ?
    Can Google Search Console drop my AMP posts indexing without any further action ?

    Thanks again for your shared expertise.

  5. Hello

    Am using a different AMP plugin with no SEO settings option , am left with this option below

    supported Templates
    The following content types will be available as AMP:

    Posts
    Pages
    Media
    Cloud Templates — Content is not available as AMP.

    My question is , is will disabling them be enough , instead of adding this code or there is another way to add the code

LEAVE A REPLY

Please enter your comment!
Please enter your name here

GET STARTED

Start WordPress Blog: Ultimate Guide For Beginners

Here is our step by step guide for beginners to start a WordPress blog.

Top 6 Best WordPress Theme Frameworks

There are many websites themes which are created by using a framework. Likewise, WordPress Theme frameworks also becoming so popular. The framework allows you...

The Most Essential WordPress Plugins

Here, I have listed some excellent plugins which will surely add more features and new functionality to your WordPress blog.

Tips to Speed Up WordPress Performance

Here, I am sharing some tips to speed up WordPress performance. All you need to modify .htaccess file on your server and add some plugins.

The Ultimate Guide to Harden WordPress Security

Learn how to improve WordPress security. Here are some basic security concepts that will help you to harden WordPress security.

How to Setup CloudFlare Free SSL for WordPress Blog

Google has announced that they will count HTTPS as a ranking factor which means if you using HTTPS you will get a higher position...

DEALS

Dreamhost Hosting

DreamPress comes pre-installed and pre-configured with WordPress making it easy to get up and running. It provides simple management to save you time.

POPULAR NOW

How to Remove jQuery Migrate in WordPress?

jQuery Migrate greatly simplifies the process of moving older jQuery code to a higher jQuery version by identifying deprecated features. It then restores deprecated...

Get almost 100% PageSpeed on Newspaper theme

The newspaper theme is the most popular premium theme for a self-hosted WordPress blog. The theme is developed by team tagDiv. You...

How to Delete Multiple Images in WordPress Media Gallery

Hey, guys today one of my friends asked me a question, How can I delete Multiple Images in WordPress? I replied, "It's very simple." Yeah,...

Xperia Home Launcher: Install on any Android Device (No Root)

Hey, guys today through this tutorial you are going to learn how to install Xperia Home Launcher on any Android device without any root. Also...

Tips to Speed Up WordPress Performance

Here, I am sharing some tips to speed up WordPress performance. All you need to modify .htaccess file on your server and add some plugins.

How to Display Featured Image Before or After Entry Title in Genesis

Learn how to add featured image to a single post or a page in Genesis child themes. You can set it to display featured...