Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Properly Disable Google AMP in WordPress

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to disable Google AMP on your WordPress website?

Many bloggers and websites that jumped on the Google AMP bandwagon are now disabling it for different reasons. AMP pages have lower conversions, pageviews, and overall engagement. Plus, the latest Google Analytics version doesn’t support Google AMP.

In this article, we will show you how to properly disable Google AMP in WordPress.

How to disable AMP in WordPress

Why You Should Disable Google AMP in WordPress

Accelerated Mobile Pages (AMP) is an open-source initiative to make the web faster for mobile users and improve user experience.

It does so by serving pages with minimal HTML and JavaScript. This allows the content to be hosted on Google AMP Cache. Google can then serve this cached version to users instantly when they click on your link in the search results.

However, if you have chosen to set up Google AMP in WordPress, you might feel that you have made the wrong choice.

You are not alone. Many website owners, influencers, and online publications have stopped using AMP on their WordPress blogs.

First, we are going to go through why you may consider disabling AMP on your WordPress website, and then we will walk you through the process.

Google Analytics 4 Doesn’t Support AMP

Google Analytics 4 or GA4 is the latest version of Google Analytics that tracks your website and mobile apps in the same account. It brings a lot of changes, including new tracking methods, reporting features, metrics, and reports.

Among these changes is that GA4 doesn’t officially support AMP at the moment, and it’s not confirmed whether it will work in the future. One of the reasons for this is that it tracks your website and app visitors in the same property.

However, Google has said that you’ll only be able to access old data in the Universal Analytics property until July 1st, 2024. This means that you can still access Universal Analytics reports to view past data but won’t be able to track it in the latest version yet.

Drastic Drop in Conversion Rates

Google AMP sets lots of restrictions on HTML/JavaScript. This means that many interactive elements from your WordPress website go missing with AMP, like optin forms and exit-intent popups.

As a result, site owners cannot encourage users to subscribe, fill out contact forms, or buy stuff.

Lower Pageviews by Mobile Users

AMP does not show your website’s sidebars or other content discovery features. This causes a significant drop in pageviews by mobile users.

In fact, some user experience experts suggest that the close button on top actually encourages users to return to Google search after reading your article instead of browsing your website.

Close button on amp pages

Lower User Engagement

Many websites thrive on user interactions, like click-to-tweet widgets, user ratings, comments, and so on. Google AMP makes it quite difficult for website owners to keep users engaged and interact with their content.

Should You Disable Google AMP?

The answer to this question actually depends on your website. If mobile users make up the majority of your audience, then you may still want to use AMP.

On the other hand, if you have tried Google AMP and it has negatively affected your conversion rates, then you should probably disable Google AMP on your website.

Contrary to popular belief, Google does not penalize websites for not using AMP. You can still improve your website’s speed and performance on mobile to compete for a mobile search audience.

With all that in mind, let’s see how you can disable AMP on your WordPress website.

Disabling Google AMP Plugins in WordPress

Not everyone uses the same WordPress plugins to add AMP support to their websites. However, the basic settings remain the same regardless of what plugin you use.

The first thing you need to do is to deactivate whichever AMP plugin you have installed.

Simply visit the Plugins » Installed Plugins page from your WordPress dashboard and click on ‘Deactivate’ below the AMP plugin’s name.

Deactivate the amp plugin

Just deactivating the plugin will disable the AMP support on your website. However, there are a few more steps to follow to ensure your site is AMP-free.

Setting Up Redirects for AMP Pages

Disabling the AMP plugin will remove the AMP version of your articles from the website. However, that alone is not enough, especially if you have AMP turned on for more than a week.

There is a good chance that Google already has those pages indexed and will keep showing those pages in search results. If a user clicks on one and you’ve removed it from your site, they will find a 404 page since that content is now missing.

To fix this problem, you need to redirect users coming to AMP pages to the regular non-AMP pages.

We will show you two different methods to set up redirects for Google AMP, first using a plugin and then using code. You can choose the one that’s most convenient for you.

Method 1: Using a Redirect Plugin

The easiest way to set up redirection in WordPress is by using the All in One SEO (AIOSEO) plugin. It’s the best SEO plugin for WordPress that offers a powerful redirection manager.

Note that you’ll need the AIOSEO Pro license because it includes the redirection manager.

First, you will need to install and activate the All in One SEO (AIOSEO) plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Upon activation, you can go to All in One SEO » Redirects from the WordPress dashboard and click the ‘Activate Redirects’ button.

Activate redirects addon

This will then help you install the AIOSEO Redirection Manager add-on that handles this feature. Upon activation, you’ll be taken to the ‘Redirects’ tab. Here, you can enter the source and target URLs to set up redirection.

First, you’ll need to click the ‘Gear’ icon in the Source URL field and then enable the ‘Regex’ checkbox.

Enable regex option in redirection manager

After that, you can add the following code in the Source URL field:

^/(.*)\/amp

In the Target URL field, you need to add your website’s URL in the following format:

https://example.com/$1

Don’t forget to replace ‘example.com’ with your own domain name.

Enter redirection details

Next, you can keep the ‘Redirect Type’ as 301 Moved Permanently. This way, your users will be permanently redirected to the non-AMP pages.

Finally, click the ‘Add Redirect’ button to save your changes.

You can now visit the URL of a former AMP page on your website to see if the redirect is working properly.

AIOSEO also helps you track broken links on your website. You can quickly identify AMP pages leading to 404 errors and redirect them. For more details, please see our guide on how to track 404 pages and redirect them in WordPress.

Method 2: Manually Set Redirects in .htaccess

If you don’t want to use a plugin to set up redirects, then you can configure redirection using the .htaccess file on your WordPress hosting account.

First, you will need to connect to your website using an FTP client or File Manager in cPanel. For more details, please see our guide on how to use FTP to upload files in WordPress.

Once connected, you need to locate the .htaccess file in your website’s root folder.

Open .htaccess file

Next, you can edit the file in your root folder.

Then simply add the following code at the bottom of your .htaccess file:

// Redirect AMP to non-AMP
RewriteEngine On
RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
RewriteRule ^ %1/ [R=301,L]

Don’t forget to save your changes and upload the file back to your server.

You can now visit the URL for the former AMP version of any post on your website to ensure the redirect works as intended.

We hope this article helped you properly disable Google AMP in WordPress. You may also want to see our step-by-step ultimate WordPress SEO guide for beginners and the best tips to speed up WordPress.

/cta

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

122 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Adeel Qadir says

    Thanks for such a nice article and your way of explaining was very simple. With this helpful article, I have easily redirected my website and remove AMP successfully.

    Lots of thanks

  3. Parkashjit Singh says

    Hi Sir, i following all the steps but, i saw all the amp link on google which are ranked now how i can removed that amp ranked links on google. As well when i search on google about my site then i saw amp logo after my site tittle even now I’m not using apm. Now how i removed that icon.

  4. Robin says

    Hey I have page which have /?amp AMP format. So what change I have to do for proper redirection,

    As the code given above /(.*)\/amp is only redirection pages with /amp.

    Please tell me what change required for this ? thing.

    • WPBeginner Support says

      You could create an additional redirect where you add * before amp if you customized your amp URLs to show like that.

      Admin

  5. Subodh Gupta says

    I have disabled AMP on my site using the mentioned codes. But the post/page previews are showing in AMP mode. What to do? Using TagDiv NewsPaper theme.

    • WPBeginner Support says

      You would want to ensure you’ve cleared all of your caching for the most common reason for that.

      Admin

    • Adnan says

      Yours AMP pages are in Google cache, so when Google Bot re-index and check no rel=”amphtml” tag they index non-AMP page.

  6. Julia says

    Hi, this article sounds very useful, thanks for sharing!
    Before I will deactivate/uninstall AMP plugin as well, I have to ask a question.

    I have, by mistake, redirected few of amp links (with amp plugin already installed) to my normal url link:
    example.com/amp to example.com
    The reason why I did that redirect with redirection plugin, is that I had no knowledge of what amp is, and so I thought it’s an error, when I was migrating my site.
    Now my question is, should I rather disable all my redirects with amp and then disable/uninstall the AMP plugin and then do the bulk redirect ?

    Thank you for your help!

    • WPBeginner Support says

      To be safe you may want to create an export of your current redirects, remove them, then do the method in this article to prevent the possibility of multiple redirects

      Admin

  7. Pratik Bhatt says

    Hi,
    Can you tell me, when we can remove the redirection plugin. Does google remove the amp pages automatically after some time?

    • WPBeginner Support says

      Once the amp pages are no longer being indexed you can remove the redirection. It takes time and Google recrawling your site for the links to be removed.

      Admin

      • Pratik Bhatt says

        Thanks for the quicky reply.

        One more question, I’ve to ask, If I don’t do the redirection, then still google remove the amp pages after some time?

        Thanks.

  8. sam says

    Hi

    I followed the steps above. However, when searching on my mobile device the amp pages are still popping up (It’s only been a few hours so this may be why). When I search on desktop device and type in domain.com/amp the redirect works perfectly. Do you know why this is happening?

    • WPBeginner Support says

      You would need to clear any caching as the most common reason it would still be showing up.

      Admin

  9. Rahul sarawagi says

    Hey,

    I tried this way and now my website is not loading, it is giving an error message that

    ” redirected you too many times ”

    Please help me out in getting it back.

  10. Dietrich says

    I have done method 1 and cleared/deleted cache and it still shows the AMP version? Any tips how to fix?

    • WPBeginner Support says

      You would want to check that your host does not have caching enabled and your redirects do no have any typos

      Admin

  11. Subham says

    Hi,
    You guys are doing great.
    After creating AMP i have seen down in my traffic.
    So i decided to remove that and i did.
    I got many errors. So, i had to install amp again.
    Now finally this article helped me a lot to completely remove amp.
    Thank you very much WPbeginner.
    You are a lifesaver!

  12. Akash Gogoi says

    Can I disable redirection plugin after AMP completely gone from Google search result? Please help.

    • WPBeginner Support says

      If you would like you can. Be warned that would remove the redirects so if the links start appearing as broken links in your search console you may need to readd the redirects.

      Admin

  13. Enes says

    Hey. Thank you very much for the info but i had a question. It does not work with me method 1. it suppose to be non amp as soon as i do redirect right ?

    my website is https so i made it as https that what it should be ? Thanks in advance

    • WPBeginner Support says

      If you are using https then you would want the second field as https, as long as you don’t have caching then it should automatically update. If not, you would want to reach out to the plugin’s support for them to take a look.

      Admin

    • WPBeginner Support says

      As it would depend on if Google still links to your AMP pages, we don’t have a set time to remove it we would recommend at the moment.

      Admin

  14. Hiral says

    Hi, thanks for helping. I used method 1. All the blog posts are being displayed in proper format but home page, about, contact such pages are still being displayed in AMP. How to fix it?

    • WPBeginner Support says

      You may want to check with the author of the redirection plugin to ensure there isn’t a hiccup with the created redirect.

      Admin

  15. Elsaid says

    Thanks a lot
    Now I disable and delete AMP Plugin. and redirect lINKS by first method.
    but I have a question , If I want reinstall AMP plugin again
    what I should do about redirections????

  16. Kumarpal Shah says

    I’ve used Method 1 – Using Redirection Plugin. Now, my question is after adding the redirection is it necessary to keep plugin installed & activated?

    OR I can remove the plugin after adding the redirection?

    • WPBeginner Support says

      Using the plugin, you would need to keep the plugin active for the redirects to continue.

      Admin

  17. foodstyling says

    Hi,
    I used the redirection method and the AMP pages are redirected to fine, but the address remain as /?amp.

    Should I worry?

    • WPBeginner Support says

      If the redirection is working correctly, then you do not need to worry about the urls.

      Admin

  18. Mark Llego says

    I would like to know how can I 301 redirect if my amp url is structured like this

    site.com/amp/your-article/

    I am using better amp.

    Thank you.

    • WPBeginner Support says

      Hi Mark,

      The htaccess method in this post should handle that redirect for you

      Admin

  19. Joanna says

    Thank you so much! I was struggling with accidentally adding AMP pages and then removing them to losing a lot of traffic. Then, I felt defeated, so I reinstalled AMP. Method 1 with the Redirection plug-in was so easy I wish I had seen this sooner. THANKS!!

    • WPBeginner Support says

      If you removed AMP completely and clearing your cache did not remove the AMP versions you may want to check with your hosting provider to ensure they don’t have caching or similar that would be affecting the AMP pages.

      Admin

  20. Margaret says

    I’m using the Yoast plugin for redirects – what do I input and where to redirect my amp urls to my non-amp ones?

  21. katie larking says

    Hi I disabled the AMP plugin and set up a redirect as per the article. The redirect works, but the AMP pages are still in google index and working. How long until google replaces them with my non amp pages. Please let me know how long it takes organically vs anything I can do to speed this up that is proven to work. Thankyou!

  22. Aaron Hunter says

    This helped so much thank you! I’ve asked WP support, and they had nothing to offer me for a solution. The new version of WordPress.com doesn’t let you deactivate AMP so I used the Redirection plugin. Thank you again!!!

  23. Keith Whitworth says

    You are an absolute lifesaver! After implementing AMP, my user engagement dropped significantly, my site links in Google totally disappeared, my ranking (for my niche) was at the bottom of the barrel.

    AMP is not really designed for podcasts AT ALL.

    Once I decided it wasn’t going to work out, I deleted the plugin only to generate thousands of 404 errors related to AMP. I found myself creating unnecessary laborious work creating redirects every day as they popped up.

    Finally, I got frustrated and performed a search and replace in my database to remove amp/ which was a massive mistake. Suddenly my site was no longer available. I deleted the plugin and everything was restored but what to do about all the 404 errors related to AMP?

    I ran across your website through a Google search and presto. In one fell swoop, all my headaches disappeared. My sitelinks have been restored and yesterday I received an email from Google stating that mobile-first indexing was enabled on my site.

    I cannot thank you enough!

    • WPBeginner Support says

      Hi Keith,

      We are glad you found the article helpful :) You may want to join us on Twitter for more WordPress tips and tutorials. Next time you come across an issue, don’t forget to search WPBeginner first for a solution :)

      Admin

  24. virginia says

    hi, I`ve been using AMP but it generated a lot of errors in Google Search console. I´m an amateur blogger so I can´t identify properly the reasons when something isn´t working.

    A thing I´ve noticed with AMP is that they cherrypick which image they show as your featured image in a blogpost, and it´s NEVER your actual featured image!! they choose to show an image uploaded inside the body of the post. And I run a travel blog, so I have a lot of unattractive -but useful- images like “this is the almost-hidden-kiosk where you can buy tickets to Eiffel Tower for less”. Well..they decided to show THOSE images instead of my well-curated eye-catching images featuring each post… It´s a NO- NO !!

    By the way I was affected by the Yoast SEO bug early this year (which erased the no-index labels in media files, so if someone googled my blog, random images -like pie charts- showed in the results AS PAGES and posts in my blog without a single word explaining anything… a nightmare). I´ve installed a plugin called “404 redirect” to get rid of that mess, redirecting images to actual posts. It´s working fine as much as I know!

    I´m trying to redirect all my /amp pages to the original URL, but a few days ago they changed the way the /amp pages show in browsers… is isn´t anymore /blogname.com/posttitle/amp Where can I find my amp pages to copypaste them and redirect all of them to my proper URLs?

    Great article! Thank you for giving me more valid reasons to unistall AMP. :)

  25. Tom Darche says

    I used another regex based on this one:

    /(.*)\/amp?\/

    My regex match the same but also match “something-before/amp/ instead of only “something-before/amp”

  26. Natalie says

    Hi, thanks for this. I have been following an alternative method which tries to remove all AMP URLS by labelling them as no index. This uses the real-time find and replace plugin… where you add this code to the find section of the plugin:
    You then go to the AMP plugin, go to the SEO section and add the following code to the head section: The idea is, that this will then signal google to take your amp pages out of the search. It’s only been a couple of days, but google has only indexed more AMP pages so far, so I’m not sure if it’s going to work. You can then create a 404 redirect if you wish from AMP pages to non-amp urls. Only at this point do you disable the AMP plugin. Do you think this will work? I’m trying my best to do this without damaging my rankings. Also…. one more thing! Since installing AMP my traffic has dropped by around a third according to analytics. Is this just because google analytics is not registering visits to AMP pages? I did put my google analytics code in when I set up Google AMP, but that’s all I did, I didn’t add anything to analytics otherwise. Thank you!!

  27. Sarah Carter says

    Thanks, very easy to follow. I’m adding in another reason to disable amp (I’ve been on the fence for a while), is that the Amazon affiliate link builder program does NOT support AMP, neither domany of the cookie plugins that folks have been using for GDPR compliance purposes.

    • Ross Graham says

      Exactly the same reason I dropped AMP. even when promoting my site and sharing direct page links many of my users still ended up on none AMP pages. I lost revenue and now My site is back to costing me money instead of earning me money. I could still see people are converting and clicking my links but yesterday when i had a huge boost in traffic, out of 500 link clicks, only 33 were captured by my affiliate programme.

  28. Simson says

    An hour ago I was on the page, how to install AMP. After setting up and going through some of the folks’ articles, I’m here. :D

  29. Dan says

    I tried both methods and they don’t work :(

    The .htaccess method causes a server error.

    While the redirect method doesn’t work.

    I use the plugin Yoast SEO, and they have Regex redirects but it won’t work for me.

    Please help!

    • Aniket Bangar says

      Hi Dan,
      Try
      # Redirect AMP to non-AMP
      RewriteEngine On
      RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
      RewriteRule ^ %1/ [R=301,L]

      I am sure you also copied the comment “/Redirect AMP to non-AMP ” which caused500 error

  30. James Michael Sama says

    Hey there – I’m getting about 100k uniques per month from search traffic and turning off AMP because people aren’t subscribing – so thank you for this.

    Quick question: Do I need to redirect every specific page URL from the AMP ones? There are about 800 articles on my site, and that would take forever.

    I appreciate it!

    – James

  31. Kane says

    Thanks a lot for this tutorial. another reason why it makes sense to disable google amp on your wordpress is the use of adsense. dynamic adsense ads will not roll out on amp pages.
    Have you had any experiences on this?
    Totally weird, as this is the way how google acutally earns money…

  32. G. P. Gautam says

    Hi,
    I have activated AMP for my website. And its been long time to set it up. Now I want to Disable AMP for my site. That is why I am following this guide. I do the same as you mention in method 2. When I save my .htaaccess file it shows me this message, “501 internal server error.”

    What is this and how to solve this problem.

    Please guite.

  33. Kevin says

    I have done as you said above and added in the plugin, I have deactived the amp plugin but the redirect didn’t work. Google still sends me to the amp page.

    My website is and I added /$1 after as above.

    I put https instead of http as above. Have tried both ways.

    Does it take time for google to get the redirects?

    Any help would be great. My bouce rate is now at 70% and I think it is because of the Amp, it was about 20%

    Thanks

    • WPBeginner Support says

      Hi Kevin,

      Yes. Your site’s AMP pages are hosted and served from Google’s own cache. They will continue to appear in search results until Google crawl backs your site. This may take a few days, you can also initiate a crawl using Google Search Console (webmaster tools).

      Admin

  34. Ben says

    The best reason, your content should be your content you should not give Google the power to shut you off

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WPBeginner Assistant
How can I help you?

By chatting, you consent to this chat being stored according to our privacy policy and your email will be added to receive weekly WordPress tutorials from WPBeginner.