How to Remove AMP for WordPress Website ?

Disabling and Remove the AMP Plugin

First step Deactivate the AMP plugin and Remove the AMP plugin from plugin list.

Setting Up Redirects

Remove the AMP plugin is half process because need to move the all traffic to without AMP urls and there should not be 404 page not found error.So need to redirect all AMP url to non AMP urls.

We can use redirect plugin like Redirection plugin. It’s a simple plugin and we can use easily.

If you don’t want to use the redirection plugin then not worry You can apply the 301 redirects with htaccess.
We can add the redirection code in .htaccess file, Just paste the below code snippet into the wordpress root htaccess file

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

Leave a Reply