How To Completely Disable AMP In WordPress



How To Completely Disable AMP in WordPress

Have you enabled AMP in your WordPress website and for some reason want to completely disable it on your website? You’re in the right place. We will guide you step-by-step to how to disable AMP in your WordPress completely.

AMP stands for Accelerated Mobile Pages which was originally created by Google to optimize web pages for slow-performance mobile devices, so that they can be easily loaded when browsed. AMP does this by serving pages to mobile devices with minimal HTML and Javascript.

When AMP is enabled on your website Google creates two URLs for a single page/post, one with AMP and one without AMP. If a page is searched from a mobile device it shows its AMP URL and when a page is searched from a desktop device it shows its normal URL.

The content of AMP pages is stored in the Google AMP cache. When an AMP page is requested it is quickly loaded from the Google AMP Cache, and that’s why we have mentioned in this article that we will guide you to “completely disable” AMP because even when you deactivate and delete AMP in WordPress AMP pages are loaded from the Google AMP Cache.

Why One Should Disable AMP?

When AMP serves pages to mobile users with amazing speed then why one should disable it on his website? It depends on what type of website you have and whether it is monetized or not. Most of the content creators who have enabled AMP on their monetized blogs particularly with Google AdSense found a decrease in AdSense earnings.

Also Read: How To Show Google Ads On AMP Pages | For Beginners

Beside AdSense or PPC ads AMP pages have negative impact on the earnings of blogs monetized with affiliate programs or with their own products. AMP pages does not show navigation menus, contact form, subscription, sidebars, buy buttons, etc, as a result visitors leave the page without exploring other pages of your website.

Completely Disable AMP In WordPress

First of all Deactivate and Delete AMP plugin.

  • Go to “Plugins” from your WordPress Dashboard.
  • Under the title “AMP” Click “Deactivate”.
  • Once it is deactivated click “Delete” to remove it from your website.

Deactivating and Removing AMP from your website is alone not enough because Google AMP Cache still has your website AMP pages. Normally after you disable AMP on your website Google takes some time to remove AMP pages from its cache. So to solve this issue you can redirect your AMP page URLs to normal URLs.

Follow the steps to redirect your AMP page URLS to normal URLs permanently:

  • Login to your cPanel account. The link of your cPanel account, Username and Password are provided to you by your web hosting provider.
How To Completely Disable AMP in WordPress 0
  • Click “File Manager” located under the Files section.
How To Completely Disable AMP in WordPress 2
  • Click “public_html”.
  • At your top-right corner click the “Settings” icon.
How To Completely Disable AMP in WordPress 4
  • Tick “Show Hidden Files (dotfiles)”.
  • Click “Save”.
How To Completely Disable AMP in WordPress 5
  • Right-click on the “.htaccess” file. The “.htaccess” is a very important file that provides a way to make configuration changes to your website on a per-directory basis.
  • Click “Edit”.
How To Completely Disable AMP in WordPress 6
  • Click “Edit”. Since “.htaccess” is a very important file, it is better to download a copy of it in your computer, in case if you do something wrong you can upload it again.
How To Completely Disable AMP in WordPress 7
  • Now Paste these lines at top or bottom of the “.htaccess” file. This code will redirect all your AMP URLs to the normal URLs permanently.

#To redirect AMP URLS
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
RewriteRule ^ %1/ [R=301,L]
#Ends Redirect AMP URLS

  • Once you Paste the code Save the “.htaccess” file.
How To Completely Disable AMP in WordPress 8

You have done two things (1) Disabled AMP plugin (2) Redirected the AMP URLs to normal URLs. Now open your AMP URLs on your smartphone from Google and check whether they have been redirected to normal URLs or not.

If you like this post then don’t forget to share with other people. Share your feedback in the comments section below.

Affordable WordPress themes

Also Read:

Related Topics: , , , ,
How to Start a WordPress Blog and Make Money
Amazon Seller Services, Account Management, Amazon PPC, Catalog Management, Amazon SEO, Product Research, Product Sourcing.
Buy Namecheap Domain and Webhoting
Download Website Themes
Mangools SEO Tools

Leave a Reply

Your email address will not be published. Required fields are marked *