2.2 C
New York
Friday, November 15, 2019
Home SEO How to Fix 404  errors on your AMP pages after deactivating the...

How to Fix 404  errors on your AMP pages after deactivating the plugin

4O4 AMP pages could become a serious problem after deactivating the plugin when google bot already crawled your pages.

 

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.

 

Fact Check

We strive for accuracy and fairness. If you see something that doesn’t look right, contact us!

Thanks and Remember to share!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

Eminem – Stronger Than I Was

We woke reasonably late following the feast and free flowing wine the night before. After gathering ourselves and our packs, we...

Dj Dark – Chill Vibes

We woke reasonably late following the feast and free flowing wine the night before. After gathering ourselves and our packs, we...

Leona Lewis – Bleeding Love (Dj Dark & Adrian Funk Remix)

We woke reasonably late following the feast and free flowing wine the night before. After gathering ourselves and our packs, we...

Silicon Valley Guru Affected by the Fulminant Slashed Investments

We woke reasonably late following the feast and free flowing wine the night before. After gathering ourselves and our packs, we...

Recent Comments