The official WordPress AMP Plugin was recently updated and yet again it broke my AMP pages and required further maintenance which I sincerely didn’t have the time and energy for so I made up my mind to end my romance with the service once and for all.
Removing all indexed AMP pages from Google’s search index is pretty easy and the process can be set to autopilot is just a few minutes.
This guide assumes you’re making use of the official WordPress AMP plugin which creates URLs ending in /amp/. This guide also assumes you know how to mess with code.
Simply log into your WordPress dashboard and deactivate (then delete) the AMP plugin.
Go to your site’s Channel file manager or any FTP program of your choice and edit your .htaccess file. Add the code below to the top of the .htaccess file and save and exit and you’re done.
// Redirect AMP to non-AMP
RewriteEngine On
RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
RewriteRule ^ %1/ [R=301,L]
To be sure everything is working fine, try accessing an AMP page and it should automatically redirect to the NON-AMP version of the page.
Depending on how much traffic your site gets on a daily basis, Google will start removing those indexed AMP pages in batches.
I hope this guide was helpful. Please don’t forget to subscribe to my channel and give this video a thumbs up. Do watch out for my next video. Ciao.
UPDATE 8th June 2020: I’m back to using AMP once more. I discovered my cache plugin was to blame for the never ending errors despite clearing it severally. I deactivated it and all my errors are almost gone. I have to figure out this caching thing later when all errors are resolved.
Please Rate This Post:You’ll also like:
Please share this article to help others. Thanks