Clicky

  1. Home
  2. Getting Started
  3. 1. Installation & Updating
  4. How to remove the plugin without losing the SEO and with proper Redirections

How to remove the plugin without losing the SEO and with proper Redirections

If you are looking for a perfect and safe way to uninstall an AMP from your site then follow the below steps.

Setup NOINDEX for AMP

This is an important step where we’re preventing Google to Index our pages.

We’ll include a line of Code in the SEO Option of the AMP Settings.

<meta name="robots" content="noindex,follow"/>

First, go to the WordPress Admin Area -> AMP option panel -> Settings -> SEO -> Enter code in Head Section.

In a week or two, you’ll be seeing the reduction in indexing.

Once they are down we’ll go to the next step i.e., Deactivate and Delete the plugin.

Deactivate & Delete the AMP Plugin

first, deactivate the Accelerated Mobile Pages (AMP) Plugin from Plugins Panel.

After deactivating the plugin delete it completely.

This will remove the AMP from your site.

Set up a Proper Redirection

How can you fix the 404 / page not found errors when you deactivate the AMP plugin.

Step 1: Download the free plugin called Redirection By John Godley

Step 2: After Activating go to WordPress Dashboard -> Tools -> Redirection and Setup new redirection.

To setup new redirection, we need to setup 2 things Source URL and Target URL
So in the source URL paste this regex code.  /(.*)\/amp
This code will make sure all your post URL ending with /AMP are taken as Source URL and will be redirected.

In the target, URL paste this https://www.yourdomain.com/$1 and make sure you enable the checkbox “Regular Expression”.

Your redirection should look like this.

Step 3: Hit Add Redirection and test it.
I suggest you to please check multiple amp pages and make sure they are working as expected.

I hope this will help you handling 404 pages generated after deactivating the AMP plugin, and I’m sure after some time Google will update its data in search console and /amp pages will be deindexed slowly.

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on October 9, 2019

    Are you still looking for a solution?

    Then fill out the below form and we will reach out to you within a few hours.

    Was this article helpful?

    Related Articles

    Comments

    1. New at this – I added AMPforWP to my website and didn’t like the results so I want to remove it. I deleted it and then nothing on my mobile changed – I read the part about checking the “remove settings with plugin” and so I re-installed the plugin, and checked the option under advanced. then I uninstalled it again. Again nothing changed – I just want the mobile version back to the way it was – What else do I have to do?
      stephensbodyshop.com

      1. Hi Jim Cartwrignt,

        We have checked your website and found that you have properly uninstalled the AMP on your Website.

      2. I am facing the same issue, i uninstalled the plugin but it redirect to amp version

        and if i installed the pluign again my custom css dosen’t apply and also woocommerce products pages not on amp version

        Please help me out.

        Thanks

          1. I already have done, but there is no response from your support team.

    2. I want to get back all my settings which was before use of amp for wp plugin how its possible. I uninstalled and deactivate plugin but still looking site as changed made by amp plugin. Kindly help me.
      https//instafox.co

      1. Hi Wajahat,

        If you deactivate our plugin then we will instantly remove the AMP on your website but If you pages get indexed in Google search console then Google will take few days to deindexed those pages and after that only your AMP will be removed from Google search results

    3. Hi,

      I didn’t follow this tutorial when I deactivate the plug in because I only found it today.

      Now I’m receiving message from Google –
      New issue found : Referenced AMP URL is not an AMP

      How do I fix this? Should I reinstall, activate and follow the tutorial from beginning to deactivate it?

      Thanks in advance for your help

      1. Hi Kak Su,

        If you uninstall our plugin then you will see that message for sure and if you want AMP then you need to activate our plugin and if you won’t then you will see that message only and that message simply means you are not having AMP on your website and if you have issue/problem then contact our support team – https://ampforwp.com/support/ they will help you and fix the issue as soon as possible.

    4. Hello.
      When I uninstall your AMP plugin, it is deleted.
      But when I reinstall again, all the settings are same.

      If I want to completely remove your plugin (alongwith the data stored in it).
      How to do it.

      Also your plugin is causing slow load time of AMP pages.
      Please check here. https://gtmetrix.com/reports/www.windowstechit.com/UIK5f208

      What is the reason. Your plugin is taking 2 to 3 secs as additional load.
      When I disable your plugin, this time is reduced.
      Please let me know how to resolve this issue.

      1. Hi Palla Sridhar,

        If you want to completely remove AMPforWP plugin then follow this step WordPress dashboard -> AMP option panel -> Settings -> Advance Settings ->
        enable “Delete Data on Uninstall?” option like below the screenshot -> https://take.ms/fzHXL and then Uninstall our plugin.

    5. I deleted the plugin correctly (enabled the delete data in advanced settings) and followed this guide for redirection and the site still shows the amp version.

      Will this work instantaneously or is there a delay?

      1. Hi Dietrich,

        Are you checking the AMP pages in the browser by entering the AMP URL or my Google search? Because the AMP will be removed immediately from the URL but it will take some time to remove from the Google search results.

    6. I followed all the steps but it didn’t work. I currently have 183 AMP errors in Google search console. Please help.

    7. I’m struggling to remove AMP from my website. I’ve tried so many areas of WordPress, but the ‘Delete’ option just isn’t there for me. Does anyone know what I can do? I’ve disabled the plugin, but I’d like to delete it too to ensure my AMP pages are completely gone.

    8. I installed the plugin and after few days I deleted that plugin correctly (enabling the delete data in advanced settings). As the amp has been removed from the URL of my site but the AMP version pages of my site still can be seen in google search . How to remove that from index / google search ? Can we remove the all AMP version pages from google search ? How much time it will take to remove the AMP version pages from the google search ?

    9. Hi there,
      I have been using Amp for the last 3 to 4 months… but I didn’t like it much because it affected our website in a wrong way.. so I decided to uninstall it and deactivate it… but after that my analytics data is not showing the correct data… what should I do now.? because this problem is occurring soon after the uninstallation. Also if you could check whether the uninstallation has been correctly done or not…

      My Website: – http://www.ourcaptions.com

    10. Can I use the redirection feature of Rank math plugin instead of installing new plugin.

    Leave a Comment