Le projet AMP (Accelerated Mobile Pages) est une initiative open source qui vise à améliorer l’expérience des utilisateurs de téléphones mobiles. La mise en œuvre d’AMP n’est pas facile. Il y a beaucoup de problèmes potentiels qui surgissent après l’utilisation d’AMP. Par conséquent, il est préférable de désactiver AMP dès que possible.
- Supprimez le lien rel= »amphtml » des pages non-amp.
- Définir NOINDEX pour les pages AMPc
Avant de sauter dans l’explication technique avec les étapes exactes, laissez-moi vous dire …
Pourquoi la suppression de l’AMP est une bonne idée ?
- Oubliez un instant l’affirmation « La vitesse est un facteur de classement ». Le fait d’avoir le site mobile le plus rapide d’Internet avec un design épouvantable n’est pas suffisant pour la croissance du blog. En ce qui concerne la valeur monétaire et l’image de marque, si votre blog n’est pas performant à cause d’AMP, pourquoi prendre le risque ?
- Imaginez que vous ayez 1000 pages, n’est-il pas compliqué de s’assurer que toutes les pages AMP fonctionnent correctement ou non ? La Google Search Console affiche des informations limitées, ce qui n’est pas suffisant pour un webmaster pour analyser l’utilisabilité des pages AMP.
- AMP augmente le travail supplémentaire pour un blogueur. Tous les blogueurs ne sont pas des férus de technologie. J’ai dû vérifier chaque page web. J’ai trouvé quelque part un iframe YouTube qui ne fonctionne pas, pas de formulaire de commentaire, même un code HTML qui ne fonctionnait pas dans ma boîte d’auteur, etc. En effet, AMP oblige les webmasters à faire beaucoup de sacrifices.
- Je considère que l’utilisation de plugins supplémentaires peut entraîner des bugs, des problèmes de sécurité et des conflits avec d’autres plugins. Jusqu’à présent, je n’ai pas pu trouver de plugin fiable pour AMP.
- Actuellement, AMP n’est pas un facteur de classement pour les SERPs mobiles. Oui, cela peut être génial, époustouflant pour un éditeur d’actualités de se classer sous l’en-tête appelé « Top Stories ». Mais, qu’en est-il d’un nouveau blog ? Cela vaut-il la peine de prendre le risque d’utiliser AMP ?
Why did I remove AMP from my blog? – Main reasons
Juste après quelques jours d’installation du plugin AMP, j’ai dû faire face à de nombreux problèmes frustrants. J’ai donc été très déçu et j’ai décidé de le supprimer. Vous trouverez ci-dessous quelques liens de problèmes notables.
Référence : Liste des problèmes rencontrés avec le plugin AMP pour WP
- https://wordpress.org/support/topic/facing-redirection-loop-non-slash-to-slash/
- https://wordpress.org/support/topic/is-showing-different-in-amp/
- https://wordpress.org/support/topic/missing-trailing-slash/
Même, j’ai dû corriger les problèmes d’AMP page par page, dans la mesure où j’ai pu découvrir –
- J’ai remarqué que dans l’AMP, Google AdSense n’est pas très performant.
- Lorsque vous avez de longues pages de contenu, vérifier que chaque élément de la page web fonctionne correctement ou non devient fastidieux. J’ai été effrayé de voir que certaines de mes iframes de vidéos YouTube ne fonctionnaient pas. Finalement, je l’ai réparé aussi en ajoutant quelques JS requis, pendant un moment c’était inconnu.
Comment désactiver les pages AMP pour WordPress ?
Règles d’or
Ne vous contentez pas de désactiver un plugin AMP et de croire que vous avez terminé.
Ne redirigez pas de permaliens AMP vers des permaliens non-AMP lorsque les pages AMP sont encore indexées dans les SERPs. Sinon, votre visiteur organique verra une erreur.
Concept derrière la solution pour désactiver AMP sans erreur 404
Comme nous le savons, Googlebot découvre les pages AMP en utilisant le lien rel="amphtml"
dans l’en-tête du site.
Heureusement, ce balisage n’a rien à faire directement pour les visiteurs humains. Nous pouvons donc l’enlever pour indiquer aux gens de Google, je veux dire Googlebot, que nous n’avons pas de version AMP de la page Web. 🤷
Pendant que Google désindexe les pages, nous continuerons temporairement à proposer des pages AMP à nos visiteurs en maintenant notre plugin AMP actif.
Au cours de la discussion sur ce sujet brûlant, la principale question qui se posait était la suivante .
Que se passe-t-il si Google considère les pages de la version AMP comme des URL dupliquées pour le canonical ?
Bien sûr, ce sera parce que nous avons supprimé les balises de relation. Sur la base de ce concept, je recommande vivement d’utiliser NOINDEX pour supprimer les pages AMP de la recherche Google.
Pour désactiver correctement les pages AMP sans affecter le référencement, il suffit de suivre deux étapes majeures :-.
- Tout d’abord, supprimez la sortie du lien rel= »amphtml » des pages non-amp.
- Définir NOINDEX pour les pages AMP
Intéressant, n’est-ce pas ? Entrons dans les détails pratiques, étape par étape.
Méthode recommandée pour les utilisateurs d’AMP
- Désactiver et supprimer le plugin AMP.
- Installez et activez le plugin AMP pour WP (cela facilitera le processus).
- Allez dans les paramètres avancés d’AMP pour WP
- Enable « Change End Point to ?amp » to restore AMP official plugin permalink structure.
- De nouveau dans les paramètres avancés, voyez-vous la zone de texte pour Entrer le HTML dans l’en-tête ? Entrez le code ci-dessous.
<meta name="robots" content="noindex,follow"/>
- Enfin, faites défiler la page jusqu’à la dernière, activez « Dev Mode in AMP ».
- Conservez ce statut pendant 7 jours jusqu’à ce que toutes les pages AMP aient disparu des SERPs.
Recommended method for AMP for WP Users
- Installer et activer le plugin AMP pour WP
- Allez dans les paramètres avancés d’AMP pour WP
- Voyez-vous la zone de texte pour Entrer le HTML dans la tête ? Entrez le code ci-dessous pour noindexer AMP des SERPs.
<meta name="robots" content="noindex,follow"/>
- Faites défiler la page vers le bas, activez « Dev Mode in AMP ».
- Conservez ce statut pendant 7 jours jusqu’à ce que toutes les pages AMP aient disparu des SERPs.
C’est tout. Et, c’est une façon appropriée SEO-friendly de se débarrasser de AMP.
Pour info : lorsque vous activez le mode dev, il supprime automatiquement rel= »amphtml ». 😎
Ancienne méthode pour AMP pour les utilisateurs de WP
Etape 1. Supprimez la sortie rel= »amphtml » de l’en-tête
En utilisant RegEx, vous pouvez faire correspondre la chaîne et la remplacer par la valeur souhaitée (qui est un blanc). Je pense que c’est la méthode la plus simple pour supprimer rel= »amphtml » de la sortie HTML de WordPress.
En d’autres termes, avec les étapes intelligentes ci-dessous, nous allons scanner le balisage AMP dans les pages HTML de WordPress, nous allons le supprimer à la volée en utilisant la fonction Search & Replace via RegEx.
Processus
Pour supprimer le lien rel= »amphtml » de l’en-tête, suivez ces étapes.
- Installez et activez un plugin très utile appelé Real-Time Find and Replace. Ce plugin vous permet de remplacer dynamiquement (c’est-à-dire au moment où une page est générée) le code et le texte des thèmes et autres plugins par le code et le texte de votre choix avant qu’une page ne soit livrée au navigateur de l’utilisateur.
- Allez dans Outils > Recherche et remplacement en temps réel.
- Vérifier l’utilisation de Regex
- Dans le champ Rechercher, tapez exactement
<link rel="amphtml" href="(.+)" >
- Dans le champ Remplacer, laissez-le vide.
- Mettez à jour les paramètres. C’est tout.
Nous sommes reconnaissants à l’auteur, ce plugin nous fait gagner un temps précieux.
Étape 2. Configurer NOINDEX pour les pages AMP
Il s’agit d’une étape importante pour éviter l’indexation du contenu dupliqué, car dans les dernières étapes, nous avons supprimé rel= »amphtml » de l’en-tête du site Web.
- Ouvrir les paramètres du plugin AMP pour WP
- Aller à SEO
- Ajoutez le méta-code ci-dessous à la section head
<meta name="robots" content="noindex,follow"/>
Ce processus n’affectera pas le classement de vos pages canoniques (non-AMP).
Vous pouvez également ajouter l’extrait ci-dessous à l’aide du plugin Code Snippets.
// remove rel="amphtml" added by AMP for WP plugin
add_filter('ampforwp_modify_rel_canonical', 'prefix_remove_amphtml'); function prefix_remove_amphtml($amphtml){ return; }
// set noindex for AMP pages
$url = "//{$_SERVER['HTTP_HOST']}{$_SERVER["REQUEST_URI"]}";
if (preg_match("#/amp/#", $url))
{
header( "X-Robots-Tag: noindex, follow", true );
}
Comment vérifier le statut Noindex d’AMP ?
Voici le moyen le plus simple –
- Allez sur Google.com
- Rechercher comme
https://www.gulshankumar.net/fr/*/amp/
Après avoir suivi le processus ci-dessus, vous devez garder votre plugin AMP activé jusqu’à ce que vous voyez 0 pages AMP indexées dans la recherche.
Choses à faire après 7 jours quand les pages AMP noindex se terminent
- N’hésitez pas à supprimer le plugin AMP pour WP
- Configurer la redirection sauvage d’AMP vers les pages NON-AMP pour éviter les 404. (Étape facultative pour les anciens utilisateurs d’AMP pour WP qui avaient un permalien de structure /amp/).
Merci d’avoir lu cet article jusqu’à présent. J’apprécie grandement votre temps précieux. Si vous avez besoin d’une aide urgente concernant la suppression des pages AMP ou si vous avez besoin d’une solution pour l’approche personnalisée. S’il vous plaît n’hésitez pas à discuter dans la section des commentaires. Le moment suivant, je serai là avec vous pour vous aider. Merci !
Cette méthode a été testée et a fonctionné pour moi. J’ai la chance que ce guide ait été apprécié par l’auteur de Marketing91, The Kinsta Blog et plus encore.
Excellent guide. I’m sure Google make it deliberately hard to move away from their proprietary AMP platform.
This is a simple way to escape. https://t.co/MzlHJBKSuQ— ꧁Terence Eden꧂ ⏻ (@edent) September 25, 2017
✅ Comment désactiver l’AMP gênant en tant qu’utilisateur ?? 🤔
Utilisez le navigateur Firefox et n’utilisez pas le navigateur mobile Google Chrome.
✅ Comment empêcher l’affichage de l’erreur 404 pour les pages AMP dans les SERPs de Google ?
Vous avez probablement fait une erreur en désactivant simplement le plugin dans l’espoir que AMP n’apparaisse plus dans Google. Ce n’est pas la bonne méthode. Vous devez délier la balise amphtml du code source et ne pas indexer les pages AMP.
✅ Quelles sont les principales raisons pour lesquelles je devrais éviter d’utiliser Google AMP ?
AMP détruit le design des pages web. Il augmente le travail supplémentaire que vous pouvez mieux investir dans d’autres choses productives comme écrire des articles et gagner de l’argent.
✅ Est-ce que AMP améliore PageSpeed ? 🚀
Il est préférable de rendre la page réellement plus rapide plutôt que de s’appuyer sur un plugin, car celui-ci peut présenter des bogues et des problèmes de sécurité.
✅ L’AMP est-il un facteur de classement de Google ? 📈
Le travail principal de Google est d’afficher une réponse pertinente à la requête de recherche. Que vous utilisiez AMP ou non, cela n’a pas d’importance. John de Google a officiellement confirmé que ce n’est pas un facteur de classement.
✅ Combien de temps Google peut-il prendre pour désindexer toutes les pages AMP ?
Cela peut prendre quelques semaines pour traiter la demande de noindex.
This is one of the best and most useful tutorials i have read on removing amp. I did not remove amp till date even with its poor performance in ads and earnings because I was afraid of the 404’s it will result in. But with this method I will surely remove it asap. Thanks a lot Gulshan for this brilliant method.
Hi, Thanks for sharing your valuable thoughts on this article. I am trying my best to keep this article simple and easy to follow for everyone. Thanks.
Après avoir suivi toutes les étapes, j’obtiens maintenant cette erreur dans Google Search Console « Discovered – Currently not Indexed » pour mes pages non-amp.
Assurez-vous que vous avez supprimé la balise HTML
rel="amphtml"
du lien.Give full explanation about it, Im facing the same problem
Thank you so much for sharing the clear tutorial about remove the AMP totaly.
I will gothrough your article and try it on our website.
Keep sharing more wonderful articles.
Hi Dear Navis,
Welcome back to my blog! I will make sure to keep updating with the most useful content. Thanks for stopping by!
Pretty! Тһis һas been an incredibly wonderful article.
Many thankѕ for providing tһеsе details for disabling AMP
Thank you so much for providing this, I have just tried and and hope it works for me, too! Thank you, Namaste xo
Hey Gulshan, great post!
I haven’t WP AMP but AMP plugin from Automattic.
So could i add
by Yoast SEO AMP settings?
Yoast permits to add Extra code in .
i am really impress with your solid information so thanks for sharing with us your knowledge.
Thanks for the info! Your site is a real gem. Can you tell me how you create the coloured boxes in your posts?
Thanks again 🙂
Hello Gulshan,
Thanks for this detailed post. I have also installed the AMP on my blog after reading various articles online. But Its really a hefty job to configure everything especially the error I received in my Google webmasters account. It is so time consuming job. After that I remove the AMP and installed a responsive WordPress themes. Its works great on desktop and mobile devices too. Thanks again for sharing these great insights.
Have a great day 🙂
Vishwajeet
Thanx for this valuable post., I have just tried and and hope it works for me, too!
What a great post this is.
Waiting for more articles,
Good luck bro! Please fix comment box bug it gets disappear when we tried to write a comment.
Thanks dear, I will make sure to add more articles in coming days. Also, I will fix the comment box issue. Thanks for reporting about it.
I wasn’t aware of these steps.
I simply deleted and deactivated AMP Plugin. It impacted traffic, but is stable now.
AMP does not look good and as you said it showed a lot of error in search console.
Hi Bro,
I have done it above section post, and suceesfully done it on my website.
I like to know after Amp pages removed successfully
1) Shall i remove Amp Plugins Completely ?
2) And also shall i remove the Real-Time Find and Replace Plugin also in plugin section ?
Can you clarify the above two doubts bro ?
Thank you
Hello,
Yes, you can remove both plugin – AMP and Real time Find and Replace; once AMP pages successfully get Noindexed from the Search Engine.
Later just for normal user, if you wish you can setup redirect from AMP to Non-AMP pages to prevent from simple 404 hits on AMP. It’s not compulsory.
Thanks & Regards,
Gulshan
Hi Gulshan,
Thanks for your informative blog! I have done the steps mentioned above, I’m currently in a waiting game with Google to de-index the AMP pages.
How would I know if all the pages were de-indexed completely? Just webmaster tools? Can I disable the Mobile redirection while waiting for Google to de-index the AMP pages?
Hi,
thanks for your tutorial!
Yesterday I removed AMP completely from my site. To be fair, it brought a lot of traffic, but in the end the monetarization is really bad.
I hope it will not impact my traffic that much, but maybe I’m happier now with my beautiful RESPONSIVE theme.
I’ve send you an email. Please read it. I need your help right now.
Hi Lokesh, Yes I got your email and I have replied. Please check.
Do you think amp increases seo rankings ?? if yes then how ? what is the main use of amp ?
Hey sahil,
AMP provide a light version of your website, as you know loading speed is a very important factor for ranking and because it increases loading speed then surely it will affect your rankings.
P.S. : AMP sites are also given priority by Google.
Thanks.
Hi Gulshan, I wish I found this blog post earlier before disabling the amp plugin. I disabled it and let the google bot cache the 404 pages of the non existing amp pages because that is what is suggested by google when I read the in developers.google.com. The problem now is my ranking dropped and googlebot slows down on crawling the site. I reinstalled the amp plugin again to see if the ranking will go back again. Do you think what I did is right? Do you have any tips on how to bring back my ranking? Thanks in advance.
Hi Manny,
I think, Your ranking dropped because you followed a single wrong step which was – removing AMP plugin directly. You could have noindex your AMP pages gracefully. If Google list 10 search results for any query, you remove AMP plugin, what will happen? User will simply land to error 404 page. They will pick another result. Eventually, ranking will drop.
That’s why I say, never ever directly remove plugin or even try to setup any kind of redirect – because it will NOT work.
Instead, focus on noindexing AMP pages properly, if you don’t want to loose ranking and traffics.
What you can do right now? Let me highlight some points
Step 1. Keep installed AMP for WP Plugin, till AMP pages are not noindexed automatically by Google.
Step 2. Set noindex using meta tag in the plugin settings
Step 3. Remove rel= »ampthtml » link as I described above.
Step 4. Wait at least a week. Keep eye on the AMP status via Search Console.
Step 5. Update your site regularly, this will encourage Googlebot to crawl regularly.
Step 6. Once AMP is noindexed, and you don’t see any AMP results for your website in the mobile serps, then feel free to remove AMP plugin, do whatever you want. But, don’t remove AMP without properly noindexing.
Hopefully, you will recover your ranking back.
Thanks & Regards,
Gulshan
Please add this points in your the post, Thanks again for this useful post
hello sir i have noticed that your blog image is only 13 kb when its size is 713*429. but when i creat a jpg image even 300*200 its is more than 50kb . please give me some tips to reduce image size.
Hi Anoop,
To keep image size in the control,
* Do not use many colors
* Choose right format such as PNG for illustration, JPG for real image
* After then, I prefer to compress using ShortPixel or TinyPNG.
I hope this helps.
Thanks
Thanks Sir
I will try your method
Is there any trick to optimize live sites images.
Thanks Gulshan for this great tutorial !!
Google took 20 days to no-index all my AMP URL’s.
Today I redirected all AMP URL’s to Non-AMP URL’s by following your htaccess method.
They are working fine. Thanks.
Awsm tips Gulshan!
I applied. But my home page showing » #wpadminbar { display:none; } »
Now what?
Thanks for posting this excellent tutorial. I followed your instructions and I think I’m heading in the right direction as far as disabling AMP is concerned. I had just 1 AMP page indexed to begin with … it seems like the AMP for WP plugin was generating tons of errors in Search Console all along and for that reason Google could not index any AMP pages.
This is what I had yesterday:
Indexed AMP pages: 1
AMP pages with critical issues: 3152
And today I have:
Indexed AMP pages: 0
AMP pages with critical issues: 1756
I deactivated the AMP for WP plugin after seeing 0 Indexed pages but what concerns me is that in Search Console it is still showing AMP pages with critical issues: 1756. Why do you think that is? If no pages are indexed, It should have been 0 right?
Not sure if I deactivated the plugin too quickly?
Also, after deactivating the plugin when I go to
it takes me to the main page of my website but in the URL bar I can still see
instead of only
?? Why do you think that might be?
This was the case before I set up redirection in my .htaccess following your instructions… and it is still doing the same thing after the redirection code has been implemented …
Do you have any idea why this might be happening?
Thanks again for your thoughts.
Best,
Thank you so much for this evergreen content. You have saved me the stress of trying to enable Adsense ads and other affiliate ads on my AMP blog. I just finished following the instruction above. Now my only problem is that I didn’t implement the AMP successful so some of my blog posts are not indexed on AMP page but are still ranking high on Google. Hope it won’t affect my traffic after resubmitting my sitemap.
Hello, thank you for your great tutorials. I think this is the best article I’ve found so far since I am a beginner.
I noticed that I made a mistake by directly deactiving and removing the plugin without considering your steps above. Will it affect on my website’s performance?
Then how could I fix the errors I found on the Google Console about the AMP errors after I deleted the plugin?
I would be very happy if you are willing to help me.
Thank you 🙂
After using amp my tablet is showing irresponsive in mobile. How to fix the issue?
I’m so glad in finding this useful content, thanks to the author – I noticed that ever since I activated AMP, my Adsense revenue decreased automatically, I hardly earn 3 dollars a day, I was wondering.
Until I found out it was AMP, but then I was afraid to deactivate it because of 404 error.
I’ve followed the process, by 4 days I will check back and see.
Thanks.
No worries. If you have followed all steps correctly, I am sure everything will go smoothly. All the best!!
No worries. If you have followed all steps correctly, I am sure everything will go smoothly. All the best!!
Do AdSense has anything related to AMP? If yes, how? I have seen so much shout out om AdSense users getting lesser price of ads
Thanks for the post. Great work 🙂
I have a big trouble, before know about this post I had sent an email to the developers of the plugin. Misteriously I can’t clic in any tab to complete the Step 2. The tab (Inn settings) doesnt work, like freeze.
Can you help me please?
Hello your article is a lifesaver. Recently I removed amp from a blog and it ended with 404 error (from google amp domain).
But I am using your steps as
1. removing amphtml tag
2. making noindex to ensure google won’t index the amp version.
Let’s see if this works. (I know it will)
Cheers! good work.
Amazing to hear 🙂
Thank you so much. Wish you all the best!
Dear friends, this is a great article, I used to disable one of my sites. Great.
I have a big trouble with another one. The plugin create a technical problem, I can’t access to the plugin panel and clic the tabs (freezing). I sent several emails to the developers but I haven’t any answer (the price to have a free plugin).
I’m wondering If I can delete the plugin, no more options. I’m afraid to loose google ranking (I will start again) and duplicate pages.
What do you think, could you give some ideas? I’m dummy in this field, I’m a single writer.
Thanks a lot, Marcelo
thx bro it is working properly. now i can load my site without any error on google index.
Really thanks to write this posting. It helps to know why my adsense income decrease 90% suddenly after installing amp system.
I would like to know that after all process(including deactivating and deleting AMP for-WP Plugin), is this okay to delete [Real-Time Find and Replace plugin]?
Hi Mika,
Once you know that your pages has been removed from the SERPs, please feel free to delete Real Time Find & Replace & AMP plugin also. 🙂
All the best!
Hi Mika,
Once you know that your pages has been removed from the SERPs, please feel free to delete Real Time Find & Replace & AMP plugin also. 🙂
All the best!
Hello GulshanKumar,
I installed AMP for WP plugin on my site. But still it’s not showing on Google.
Please help.
Googlebot takes time in crawling pages. Please keep patience.
Hi, Just now I submitted my AMP sitemap for non-indexing, after following the steps mentioned. Must say, your tutorial is awesome with clear instructions and images to understand it better! Just perfect for non-techies like us.
However, just now I checked the Google search console and found this message : « Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead. »
Now, what it means? And also, Google search console is displaying « Your page is not mobile friendly »
Is it okay?
Please help!
Sir i have followed this but search console still shows 24 amp pages indexed.
What to do tell me.
Thanks for the Post. I have just followed the same to deactivate the AMP on my blog. Waiting for the reindexing of google crawl of my pages.
Thanks for the Post. I have just followed the same to deactivate the AMP on my blog. Waiting for the reindexing of google crawl of my pages.
Hi,
Thanks for sharing this information.
But what if I have already deleted the AMP plugin? Should i reinstall it and follow the process mentioned above?
Very helpful article. Now I can remove AMP without affecting SEO.
bhai mujhe pahle pata nhi tha or maine direct ampplugin remove kar diya jisse meri site ka bura haal ho gaya hai. real time to maine active kar diya but kya AMP bhi dubara install karna pdega ? please bro tell me
Hi Gulshan,
Thank you very much for making it so simple. I was thinking of removing AMP for a long time but like all, I was afraid of negative SEO effect. I don’t see any negative effect, on contrary, I see the positive effect but due to other factors like topical search increase.
Thanks again.
Excellent guide,
But should I off mobile redirection to amp in AMPforWP Plugin?
Yes, the mobile redirect to AMP must be off.
Thanks for visiting.
Yes, the mobile redirect to AMP must be off.
Thanks for visiting.
Hey Gulshan,
Thanks a bunch for the step by step guide, but i think i might need some extra help.
I currently have many canonical pages indexed, and after installing AMP for wordpress, 95 of them are now indexed as AMP pages on only mobile serps.
How do I deindex the amp version only? While keeping the canonical versions indexed?
Here’s how i put myself in this position –
1. Installed Amp for WordPress, not AMP for WP (not sure if this make a difference)
2. After 5 days, now 95 pages on only mobile serps are indexed, which decreased traffic by alot
3. I deactivated and deleted plugin from wordpress without doing much research which was stupid
Then I followed your steps above:
1. Removed rel=”amphtml” using plugin
2. Installed AMP for WP plugin, not the AMP for WordPress plugin which i originally installed (not sure if this makes a difference)
3. Input
Any help is appreciated.
Your last two steps are right. At the place of 3. Input, I would suggest set Noindex using meta tag in the AMP for WP plugin.
I have used this method to remove amp pages. But now if I want to switch back to amp again, what are the required steps? Please provide the procedure for that.
To switch back to AMP,
noindex
tag from the head section of AMP plugin.Done.
To switch back to AMP,
noindex
tag from the head section of AMP plugin.Done.
I have Followed this article step by step and it’s have been 5 day’s since i deindex amp url but iam not seeing any deindex on my google search console account plz help iam getting lots of problems due :pensive: to amp.
Please share your complete queries with website URL at our forum.
Hey Gulshan, thank you for the great post!
I don’t use WP AMP but AMP plugin from Automattic.
Where can I put the meta code () because I have no SEO Tab in the AMP Plugin.
Please help me!
Tanks in advance!
Thanks. Very useful guide.
85% bounce rate & 85% exit rate when compared to non-amp pages.
traffic declining gradually.
1st-time enabled traffic lost unusual disabled amp and updates disavow links
for disavowing links traffic decreased by 50% and after amp deactivation traffic went 5% to 50%.
it was very helpful
my adsense earning was going down from last 3 months
after applying these changes earning has been restored within week
Thanks gulshan bo for this tutorial, really impressed
I’ve tried this method and it works quite well I suppose, but it’s been more than 4 days and not all the AMP pages have been deindexed. What do I do? I’m losing on Adsense revenue since AMP decreases my RPM and CPC.
Noindexing AMP can take some time like few weeks. Please keep patience. Thanks
Excellent article Gulshan, as ever! Very useful!!
Hi Gulshan,
I was using amp using newspaper theme’s provided amp support. It created amp pages with /?amp/ url pattern rather than /amp/. I am trying to remove amp now completely. It there any way i can make a 301 redirect using my htaccess to redirect to non amp pages?
Hello!
You may setup a Redirection rule
From
/(.*)/(.*)?amp(.*)
To
https://example.com/$1
As discussed earlier.
Thanks & Regards,
Gulshan
Hi, i amp-ed my site few days ago, but none all of my is index in google page. However, it is still indexed in Google webmaster, showing all the errors.
I have deactivated the amp plugin, will it affect SEO?
Thanks for the article. Is this relevant in 2020 as well.
I think, Yes.
Worked for my site, thanks for updating the post, please update the AMP for WP aspect. As of the time of this comment, the AMP for WP plugin developers have made some changes.
Currently I am still using AMP and I have experienced a bad Speed Index drop in PSI both in page views and in posts.
Unlike the non AMP displays all work fine close to 100%.
I want to ask before releasing the AMP, is there any effect on the PSI speed index on AMP? why did it make such a bad number? and how to optimize it?
If not, in 2021, is AMP still important to use?
It is subjective to each site. Please provide URL for which you need assistance.
Hai Gulshan as per your article I have decided to remove ampforwp so I have done the redirect to deindex the posts, but its more than 15 days still some amp posts are showing up in google search. So how to proceed further can I deactivate the ampforwp plugin.
Avoid redirecting untill post are indexed in SERPs.
Sorry gulshan by mistake I have typed as redirect instead of noindex, its more than 15 days still 10 posts are showing in search console as AMP.
As per your advice I have checked in this format /*/amp with my website, it shows 4 to 5 posts from that only 2 are showing as AMP when I checked that posts it goes to the AMP homepage. Can you please tell me how to proceed further. Thank You
I tried AMP and it’s waste of time and energy. We should invest more time for that.
This piece of information has helped me alot
Thanks for your kind words.
I am looking to remove the ampforwp plugin, found this helpful article. Thanks, Gulshan for an informative article. But, here comes the actual issue, I have also found an article from the actual plugin authors at their website to remove their own plugin. The difference is have found is that your article suggests adding the code in the « Enter HTML in Head » section present in the advanced section of the plugin. But the author’s article shows that to add the code in the SEO section present in plugin. Their article does not mention enabling the dev mode. I am a bit confused now on which article to follow. I don’t want to have any issues on removing amp. What do you suggest?
To properly remove AMP,
Day 1
1. You must add suggested noindex meta tag in head. This will hint Google you don’t want to show AMP.
2. Last, we need to
rel="amphtml"
markup from head to cut the link of AMP from the non-amp pages. There are many ways to do this. Either enable dev mode, use Real Time Find Replace or snippet. However you do, it’s important.Day 7
3. Now, you should add redirect from AMP to Non-AMP pages. (This is not mandatory, optionally recommended to avoid 404 for the old AMP slug).
Thank you for this. AMP « seemed » like a great idea for a client at first. However, after AMP started to show more than the original page, ad revenues dropped, and this is not ideal. Hopefully, Google figures out another way because this is worse.
I believe AMP version pages will end soon. As many publishers have not felt satisifed with this approach.
Thanks for your help. I am really grateful.
Glad to know, I could help. Thanks! 🙂
Happier to don’t use AMP..
Thanks bro..
I also want to remove it from GWM. Its seem Google bot still always crawling on my entire ?amp page..
I hope you followed this step correctly. Google may keep crawling but that’s not an issue. They will eventually figure out right Canonical URL.
Thank you for Your Big Support. Nice and Very useful Information.
Hi! Thanks for the tutorial!!!
If I follow the new method for AMPfor WP users, should I still redirect from AMP to no-amp after a week?
After a week, you may do redirection if you want. It’s optional.
Hello Gulshan,
I was using newspaper theme with their inbuilt AMP plugin and mobile theme.
After removing AMP i installed wp for amp and followed both steps
I have enabled « Change End Point to ?amp”
And in advanced settings,entered HTML in Head as you mentioned.
My questions are:
After that do I need to disable amp ads in Adsense?
When should I deactivate amp for wp plugin? after 7 days?
1. To avoid losing Advt revenue, you can keep AMP ads as long AMP for WP plugin is active for the noindex process.
2. Yes, after 7 days or when AMP version page doesn’t appear in the SERPs.
Hi Gulshan,
Thank you for giving me some solid reasons to remove AMP from my website, which I really wanted to do so.
I’ve removed the AMP from my website successfully without any errors or problems!
Here’s a #tip for others wanting to remove AMP easily:
1. Open the AMP’s Pluging Settings.
2. Switch to Supported Templates tab.
3. Now, uncheck all the “Content types enabled for AMP” options.
3. Hit the save button.
What will happen then?
Unchecking to all will set up a permanent 301 redirect of AMP-enabled pages to Non-AMP pages, and that happens without any errors.
What do next?
Just wait for some days when you find your Search Console shows 0 AMP pages indexed.
Then disable the AMP plugin from your WordPress website.
And that’s all!
I hope this helps you!
Thanks and regards!
Deepak Gupta, Techshali.com
Hey, i am stuck in between as I don’t know where I can add the code you provided to add in the CODE SNIPPET plugin. I’ve installed the plugin and can see 5 options: Example HTML shortcode, Example CSS Snippet,Example JavaScript snippet, Order snippets by name , Order snippets by date.
Can you briefly explain where can i add the code?
You can delete previous example code. Just, Add a new snippet.
In HTML section.
Also can you tell me why is the code snippet plugin used?
Can I use redirection in place of that?
Also thankyou for the help 🙂
Not in HTML section. In fact, you can delete all those examples code which comes by default. It is just a demo by Code Snippet. Not useful.
For noindexing AMP pages, you can place code snippet this way – https://i.imgur.com/RSCgjj9.png
I do not suggest redirection. You can do [only] once AMP pages are gone.
Thanks. So, should I delete the redirection plugin directly?
Also, when can I delete the Code Snippet plugin? after one week or never?
There is no role of Redirection at the moment.
You can delete Code Snippet plugin after deactivating AMP plugin after one week.
Thanks for the help.
I have added the code. Can you tell me what now should I do, I have completed all the steps but can’t see any changes? And can I delete the code snippet plugin when the amp will be completely removed?
Wait a few week.
Thank you for your post. Are there any other settings in AMP that need to be clicked other than the Dev? For example, I noticed on te Search Result Page in AMP and Category Description are set to ON. Should they be?
You’re welcome! All neccessary settings are present. No additional things required.
Hey, i tried removing the amp for the site. I noticed that the amp pages are not decreasing in the past few days.
Can you suggest to me what should I do now? It’s been more than a week since i follwed the steps.
You need to wait a few weeks.
Un de mes coéquipiers a par erreur supprimé le plugin amp for wp, donc dois-je installer et ajouter à nouveau le code dans le header car il nous reste encore 10 pages à désindexer donc. Pouvez-vous nous suggérer ce que nous devons faire maintenant ?
Vous pouvez réinstaller le plugin AMP pour WP.
My Bing impressions are 0 since the time I added the no-index tag. Can you tell me what should I do to get back the impressions and clicks?
Veuillez vous assurer que vous avez ajouté la balise noindex selon les instructions.
Hello sir,
In fact I have tried AMP plugin for 2 times, but as it was giving error in Google Search Console. I removed it by deactivating it. But didn’t followed these mentioned steps. Do I have to install it once again. As such I don’t want AMP version of my blog.
Thanks in advance!
Akhilesh
Hi Akhilesh,
Thanks for your comment at my Remove AMP article.
May I know, what is the error message in your Search Console? So I can help you out.
Thanks & Regards,
Gulshan
Hi,
There are 3 errors showed in GSC which are being shared respectively-
1. Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.
2. Custom JavaScript is not allowed.
3. Disallowed attribute or attribute value present in HTML tag.
Since I am not too much technically sound about reasons why errors which are being showed in Google Search console are displayed. So I just gets them disabled.
Thanks in advance!
I used amp-wp plugin first but it produced just blank pages and then i switched to amp official plugin. So I donot want to go back to the amp-wp plugin – in this case what is the choice
Waw this is what i need i want remove my AMP page but afraid SEO effect…
But bow im confidence to remove my AMP plugin…
Sorry for my broken English and Thanks
Hi Gulshan. Great article you have here.
I’ve done removing rel= »amphtml » and add nofollow meta tag.
But i have one doubt. My site is using 404 to 301 plugin, is it alright if i install Redirection plugin right away?
Do these two plugins will conflict with each other or not?
Avoid nofollow, use noindex as per article. Cannot say anything about 404 to 301 that’s a different thing and not recommended.
J’ai changé mon blog pour amp il y a quelques mois. Après quelques mois, j’ai supprimé le plugin sans penser au référencement. Cela a nui à mon blog dans les SERP. Très mauvaise expérience. Votre article détaillé aidera les gens à ne pas prendre de risques comme je l’ai fait avec mon blog.
Bonjour Abid, Heureux de l’entendre !
Merci de partager votre expérience.
Salut Gulshan, j’ai essayé le tutoriel sur ce post, et il fonctionne parfaitement.
Mais j’ai un petit problème : sur les 200 pages AMP, il y a encore 7 pages qui n’ont pas encore été désindexées.
Pic: https://i.ibb.co/w0ngTjT/IMG-20210813-090834.jpg
J’ai attendu pendant 1 mois, mais le nombre est toujours le même.
Voici la question.
1. Est-ce normal ?
2. Est-ce que je peux supprimer le plugin AMP pour WP maintenant ?
3. Dois-je rediriger ces 7 pages à l’aide du plugin Redirection ?
Je veux entendre vos conseils.
Bonjour Alfiant, Donnez-lui un peu de temps. Il n’y a aucun effet secondaire à laisser le plugin AMP pendant un certain temps lorsque le processus noindex est en cours. Merci !
wow you saved me especially i have almost a thousand pages on my website.. thanks so much
Heureux d’entendre vos commentaires. Merci.
Cet article est totalement confus. Vous devez élaborer ; vous devez expliquer davantage. Vous comprenez ce qui doit être fait, mais vous l’expliquez terriblement.
Veuillez lire l’article plus d’une fois, peut-être deux ou trois fois. Je suis sûr que vous serez en mesure de comprendre.
Toutes les étapes sont clairement écrites dans des rubriques séparées. N’hésitez pas à me demander si vous avez des questions spécifiques. Je suis toujours prêt à vous aider.
Ok, peut-être pas un si mauvais article… Mais trop technique. Je vais vous envoyer un message si j’ai des questions.
Je vais essayer de rester aussi simple que possible. Merci pour vos commentaires.
Merci beaucoup pour cet article ! Facile à lire et à comprendre pour un webmaster moyen. Cela m’aide vraiment quand je veux supprimer ce mal de tête AMP.
Merci, ce guide a été très utile ! J’ai désactivé AMP et j’ai constaté que je perdais du trafic car je n’apparaissais plus sur google Discover. Il s’avère que cela m’alimentait environ 15-20% de mon trafic. Cependant, laisser AMP a augmenté mes revenus publicitaires de manière assez substantielle, donc je pense que je suis en avance d’un point de vue des revenus. Cependant, j’aimerais vraiment qu’il y ait un moyen d’activer AMP spécifiquement pour apparaître sur Google Discover. Avez-vous des suggestions ?
Thanks for the valuable tips. Followed the steps under « Recommended method for AMP for WP Users ». Now no AMP indexed pages on Search Console (it took 3 weeks to go them away). But on Google searches some AMP pages appear. Example:
https://example.com › blog1 › amp › page
What to do next?
You can wait a few more weeks to let AMP pages completely disappear from the SERPs.
Hello🙏 sir
Sir Maine 18 March ko AMP Disable karne k liye no index ka process kiya tha. Ajj 21 March ko maine Google search console me AMP pages check kiye usme 7-8 page abhi bhi index ho rahe hai.
Lekin maine jab Google AMP testing tool me apni sit ko check kiya to usme AMP invalid dikha raha hai to bhai kya ham redirection wale process karne k liye tyar hai.
Please keep patience for few days and ignore errors.
Hello sir 🙏
Sir AMP Disable karne ke process me sirf 3 post aur 4 pages deindex nahi ho rahe to kya kare
Please reply
Gardez la patience.
J’ai apprécié la lecture de l’article ci-dessus, il explique vraiment tout en détail, et l’article est très intéressant et efficace. Merci et bonne chance pour les prochains articles
Merci pour vos commentaires.