AMP speeds up your website loading time and provides performance boots for your audience and visitors. It does this by cutting out a lot of HTML and JavaScript elements that tend to make websites load slowly. However, not everyone has seen these benefits championed by Google and others. Some webmasters have reported that AMP hurts user engagement and performs poorly with AMP-enabled advertainments. If you feel that your AMP pages are not very useful and hurting your users’ engagement with your website, simply disable and remove them. If you simply disable AMP from WordPress without also adding appropriate redirects, it may cause a lot of trouble for you, including 404s, missing pages, and more. To get started with disabling and removing AMP from WordPress, follow the steps below:
Disable AMP for WordPress
With AMP for WordPress installed, simply go to the Plugins page and deactivate the installed AMP plugin. Once the plugin is deactivated, click the “Delete” link to remove it from WordPress. Deleting the plugin will clean out its records stored in the databases and related data from WordPress.
Setup redirect
Deactivating AMP and deleting the plugin are only halfway done. You can’t just remove the AMP plugin without adding redirects. If Google is sending searchers to your AMP pages and none are available, they will all be shown error 404 pages. This is bad. You want users visiting AMP pages to be redirected to the correct non-AMP pages. To do that, follow the steps below: First, go to your Plugins page ==> Add New Then search for Redirection as shown in the image below. When you find the Redirection plugin, click Install Now. After installing the plugin, activate it. Once enabled, go to Tools ==> Redirection to set up the plugin. You may be prompted with a setup wizard. Simply follow through with the default options and finish. On the setting page, add a new Redirection with the settings below: In the Source URL, type the line below Then select the REGEX from the drop-down option to the right of the input box. In the Target URL, type the line below: Next, select the Group drop-down window and click, Redirections. When you’re done, click the Add Redirect button to complete the setup. That should do it! Conclusion: This post showed you how to completely remove the AMP plugin from WordPress and enable redirects for AMP pages. If you find any error above, please use the form below to report. You may also like the post below: