Zakázání AMP ve WordPressu způsobem šetrným k SEO

Projekt AMP (Accelerated Mobile Pages) je iniciativa s otevřeným zdrojovým kódem, která má zlepšit uživatelský zážitek z mobilních zařízení. Implementace AMP není jednoduchá. Existuje mnoho potenciálních problémů, které po použití AMP vznikají. Proto je lepší co nejdříve deaktivujte AMP.

  1. Remove the link rel="amphtml" from the non-amp pages.
  2. Set NOINDEX for AMP pages

Než se pustím do technical explanation with exact steps, dovolte mi, abych vám řekl. …

Proč je odstranění AMP skvělý nápad?

  • Zapomeňte prosím na chvíli na „Rychlost je faktorem hodnocení“ výpis. Pouze nejrychlejší mobilní stránky na internetu s příšerným designem pro růst blogu nestačí. Co se týče peněžní hodnoty a budování značky, pokud váš blog kvůli AMP nefunguje dobře, proč riskovat?
  • Představte si, že máte 1000 stránek, Není složité zajistit, aby všechny stránky AMP fungovaly správně nebo ne? Konzola Google Search Console zobrazuje jen omezené informace, které nestačí k tomu, aby webmaster mohl analyzovat použitelnost stránek AMP..
  • AMP zvyšuje práci blogera navíc. Ne všichni blogeři jsou technicky zdatní. Musel jsem zkontrolovat každou webovou stránku. Někde jsem našel YouTube iframe nefunguje, žádný formulář pro komentáře, dokonce i některé HTML code nefungoval v mém autorském okně atd. AMP skutečně nutí webmastery hodně obětovat.
  • Domnívám se, že používání dalších zásuvných modulů je pozvánkou k možným chybám, obavám o bezpečnost a konfliktům s jinými zásuvnými moduly. Zatím se mi nepodařilo najít žádný spolehlivý plugin pro AMP.
  • V současné době není AMP faktorem hodnocení v mobilních vyhledávačích SERP. Ano, pro vydavatele zpráv to může být úžasné, ohromující pro umístění pod hlavičkou tzv. „Top Stories“. Ale co třeba nový blog? Vyplatí se riskovat kvůli AMP?
AMP is not a ranking factor

Proč jsem z blogu odstranil AMP? – Velké důvody

Jen po několika dnech od instalace pluginu AMP jsem se musel vypořádat s mnoha frustrujícími problémy. Takže jsem byl velmi zklamaný a rozhodl jsem se ho odstranit. Níže je uvedeno několik odkazů na pozoruhodné problémy.

Odkaz: Seznam problémů, se kterými jsem se potýkal AMP for WP plugin

  • 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/
  • https://twitter.com/TheGulshanKumar/status/827897651282706432

Dokonce, Musel jsem opravit problémy AMP stránku po stránce, pokud jsem mohl objevit –

  • Všiml jsem si, že v AMP, Google AdSense nemá dobrý výkon.
  • Pokud máte dlouhé stránky s obsahem, je ověřování správného fungování jednotlivých prvků webové stránky zdlouhavé. S obavami jsem zjistil, že některé z mých iframe videí YouTube nefungují. Nakonec jsem to také opravil přidáním některých potřebných JS, chvíli to nebylo znát.

Jak zakázat stránky AMP pro WordPress?

Zlatá pravidla

Nedeaktivujte žádný zásuvný modul AMP a nepředpokládejte, že je hotovo.

Don’t redirect from AMP to Non-AMP permalinks když jsou stránky AMP stále indexovány v SERP. V opačném případě se návštěvníkovi zobrazí chyba.

AMP error
AMP Sucks many ways and this is one of them how hard it is to opt out.

Koncept řešení pro vypnutí AMP bez chyby 404

Jak víme, Googlebot objevuje stránky AMP pomocí funkce  rel="amphtml" odkaz ze záhlaví webové stránky.

Toto značení naštěstí nemá nic společného přímo s lidskými návštěvníky. Takže ji můžeme odstranit, abychom lidem ve společnosti Google řekli. Googlebot že nemáme žádnou verzi AMP webové stránky. 🤷

Mezitím, co Google stránky deindexuje, budeme dočasně pokračovat v zobrazování stránek AMP našim návštěvníkům tím, že budeme mít aktivní náš plugin AMP..

Během diskuse o tomto žhavém tématu jsme si kladli hlavní otázku…Během diskuse o tomto žhavém tématu jsme si kladli hlavní otázku…

What if Google considers AMP version pages as duplicate URL for canonical?

Samozřejmě to bude proto, že jsme odstranili značení vztahů. Na základě tohoto konceptu vřele doporučuji používat NOINDEX pro odstranění stránek AMP z vyhledávání Google.

Zakázání AMP pages properly without affecting SEO, stačí provést dva hlavní kroky:-

  1. First, remove the link rel="amphtml" output from the non-amp pages.
  2. Set NOINDEX for AMP pages

Interesting isn’t it? Let’s get into practical details step by step.

Doporučená metoda pro AMP Users

AMP official
  • Deactivate and Delete AMP plugin.
  • Install and activate AMP for WP plugin (This will make process easier)
  • Go to Advanced Settings of AMP for WP
  • Enable „Change End Point to ?amp“ to restore AMP official plugin permalink structure.
  • Again in advanced settings, do you see text area for Enter HTML in Head ? Enter below code.
<meta name="robots" content="noindex,follow"/>
  • Last, scroll page down till last, enable „Dev Mode in AMP„.
  • Keep this status for 7 days until all AMP pages are gone from SERPs.

Doporučená metoda pro AMP for WP Users

amp for wp
  • Install and activate AMP for WP plugin
  • Go to Advanced Settings of AMP for WP
  • Vidíte textovou oblast pro Enter HTML in Head ? Enter below code to noindex AMP from SERPs.
<meta name="robots" content="noindex,follow"/>
  • Scroll page down, enable „Dev Mode in AMP„.
  • Keep this status for 7 days until all AMP pages are gone from SERPs.

That’s all. And, this is proper SEO-friendly way to get rid of AMP.

FYI: When you enable dev mode, it automatically remove rel=“amphtml“. 😎


Stará metoda pro AMP pro uživatele WP

Step 1. Remove rel=“amphtml“ output from the head

Using RegEx, you can match the string and replace it with your desired value (which is blank). I think this is the far easiest for removing rel="amphtml" from WordPress HTML output.

Zjednodušeně řečeno, pomocí níže uvedených chytrých kroků budeme skenovat značky AMP na stránkách HTML. WordPress, odstraníme za běhu pomocí Search & Replace via RegEx.

Regular Expressions
Validated Regular Expressions

Proces

To remove the rel="amphtml" link od hlavy přejděte k těmto krokům.

  1. Nainstalujte a aktivujte nejužitečnější plugin s názvem Real-Time Find and Replace. Tento zásuvný modul umožňuje dynamicky (tj. v okamžiku generování stránky) nahradit kód a text z motivů a jiných zásuvných modulů kódem a textem podle vlastního výběru předtím, než je stránka zobrazena v prohlížeči uživatele.
    real time find and replace
  2. Go to Tools > Real-Time Find and Replace
    Real Time Find and Replace Settings
  3. Check Use Regex
  4. In the Find field, type exactly <link rel="amphtml" href="(.+)" >
  5. In the Replace field, leave it blank.
  6. Update settings. That’s all.
    remove AMP rel markup

Jsme vděční autorovi, tento plugin šetří náš drahocenný čas.

Krok 2. Setup NOINDEX for AMP pages

To je důležitý krok, který zabrání indexování duplicitního obsahu, protože v posledních krocích jsme odstranili rel="amphtml" from the website header.

  1. Open AMP for WP plugin settings
  2. Go to SEO
  3. Add below meta code to the head section
<meta name="robots" content="noindex,follow"/>
noindex amp

Tento proces neovlivní pořadí of your canonical (Non-AMP) pages .

Alternativně, add below snippet using Code Snippets plugin.

// 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 );
}

Jak zkontrolovat stav Noindex AMP?

Tady je jednoduchý způsob –

  1. Go to Google.com
  2. Search like https://www.gulshankumar.net/cz/*/amp/

Po provedení výše uvedeného postupu musíte mít plugin AMP aktivovaný, dokud se ve vyhledávání nezobrazí 0 indexovaných stránek AMP.

Co dělat po 7 dnech, kdy se dokončí noindexace stránek AMP

Děkujeme za přečtení tohoto článku. Velmi si vážím vašeho drahocenného času. Pokud potřebujete naléhavou pomoc ohledně odstranění stránek AMP nebo potřebujete řešení pro vlastní přístup. Neváhejte prosím diskutovat v comment section. V příštím okamžiku tam budu s vámi, abych vám pomohl. Děkuji!

Tato metoda je vyzkoušená a mně se osvědčila. Mám to štěstí, že tento návod ocenil i autor knihy Marketing91, The Kinsta Blog a další.

feedback
kinsta feedback
11 Sep 2017, https://kinsta.com/blog/disable-google-amp/

✅ Jak jako uživatel zakázat otravný AMP? 🤔

Používejte prohlížeč Firefox a nepoužívejte mobilní prohlížeč Google Chrome.

✅ Jak zabránit zobrazování chyby 404 pro stránky AMP v SERP Google?

Pravděpodobně jste udělali chybu, když jste deaktivovali plugin v naději, že se nyní AMP nebude zobrazovat v Googlu. To není správný způsob. Musíte odstranit tag amphtml ze zdrojového kódu a stránky AMP neindexovat.

✅ Jaké jsou hlavní důvody, proč bych se měl vyhnout používání Google AMP?

AMP ničí design webových stránek. To zvyšuje práci navíc, kterou můžete lépe investovat do jiných produktivních věcí, jako je psaní článků a vydělávání peněz.

✅ Zvyšuje AMP rychlost stránky? 🚀

Je lepší web skutečně zrychlit, než se spoléhat na zásuvný modul, protože může mít chyby a bezpečnostní problémy.

✅ Je AMP faktorem hodnocení Google? 📈

Hlavním úkolem Googlu je zobrazovat relevantní odpovědi na vyhledávací dotazy. Ať už AMP používáte, nebo ne, je to jedno. John ze společnosti Google oficiálně potvrdil, že to není faktor hodnocení.

✅ Jak dlouho může trvat, než Google všechny stránky AMP nezařadí?

Zpracování žádosti o noindex může trvat několik týdnů.

Napsat komentář

154 komentářů u „Zakázání AMP ve WordPressu způsobem šetrným k SEO“

  1. 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.

    Odpovědět
  2. 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.

    Odpovědět
  3. 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.

    Odpovědět
  4. 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 .

    Odpovědět
  5. 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

    Odpovědět
  6. 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.

    Odpovědět
    • 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.

      Odpovědět
  7. 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.

    Odpovědět
  8. 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

    Odpovědět
  9. 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?

    Odpovědět
  10. 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.

    Odpovědět
    • 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.

      Odpovědět
  11. 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.

    Odpovědět
    • 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

      Odpovědět
  12. 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.

    Odpovědět
  13. 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

    Odpovědět
  14. 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.

    Odpovědět
  15. 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

    http://www.example.com/amp/

    it takes me to the main page of my website but in the URL bar I can still see

    http://www.example.com/amp/

    instead of only

    http://www.example.com/

    ?? 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,

    Odpovědět
  16. 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.

    Odpovědět
  17. 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 🙂

    Odpovědět
  18. 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.

    Odpovědět
  19. 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

    Odpovědět
  20. 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?

    Odpovědět
  21. 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.

    Odpovědět
  22. 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

    Odpovědět
  23. 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]?

    Odpovědět
    • 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!

      Odpovědět
  24. 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!

    Odpovědět
  25. 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!

    Odpovědět
  26. 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.

    Odpovědět
  27. 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.

    Odpovědět
  28. 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?

    Odpovědět
  29. 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

    Odpovědět
  30. 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.

    Odpovědět
  31. 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.

    Odpovědět
    • 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.

      Odpovědět
  32. 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.

    Odpovědět
    • To switch back to AMP,

      1. Deactivate and Delete Real Time Find and replace plugin
      2. Remove meta noindex tag from the head section of AMP plugin.

      Done.

      Odpovědět
  33. To switch back to AMP,

    1. Deactivate and Delete Real Time Find and replace plugin
    2. Remove meta noindex tag from the head section of AMP plugin.

    Done.

    Odpovědět
  34. 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.

    Odpovědět
  35. 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!

    Odpovědět
  36. 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%.

    Odpovědět
  37. it was very helpful
    my adsense earning was going down from last 3 months
    after applying these changes earning has been restored within week

    Odpovědět
  38. 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.

    Odpovědět
  39. 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?

    Odpovědět
  40. Hello!

    You may setup a Redirection rule

    From
    /(.*)/(.*)?amp(.*)

    To
    https://example.com/$1

    As discussed earlier.

    Thanks & Regards,
    Gulshan

    Odpovědět
  41. 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?

    Odpovědět
  42. 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.

    Odpovědět
  43. 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?

    Odpovědět
  44. 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.

    Odpovědět
      • 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

        Odpovědět
  45. 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?

    Odpovědět
    • 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).

      Odpovědět
      • 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.

        Odpovědět
  46. 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..

    Odpovědět
  47. 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?

    Odpovědět
  48. 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?

    Odpovědět
    • 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.

      Odpovědět
  49. 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

    Odpovědět
  50. 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?

    Odpovědět
      • 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 🙂

        Odpovědět
        • 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.

          Odpovědět
          • 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?

  51. 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?

    Odpovědět
  52. 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.

    Odpovědět
  53. 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

    Odpovědět
    • 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

      Odpovědět
      • 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!

        Odpovědět
  54. 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

    Odpovědět
  55. 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

    Odpovědět
  56. 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?

    Odpovědět
    • Avoid nofollow, use noindex as per article. Cannot say anything about 404 to 301 that’s a different thing and not recommended.

      Odpovědět
  57. I switched my blog for amp few months ago. After a months I deleted plugin without thinking of SEO. It hurt my blog on SERP. Very bad experience. Your detailed post will help people not to take risks as I did with my blog.

    Odpovědět
  58. Hi Gulshan, I’ve tried the tutorial on this post, and it works perfectly.

    But i has a little problem: out of 200 AMP pages, there’s still 7 pages that has deindexed yet.

    Pic: https://i.ibb.co/w0ngTjT/IMG-20210813-090834.jpg

    I’ve waiting for 1 month, but the number still same.

    Here is the question.

    1. Is this normal?
    2. Is it alright if i delete AMP for WP plugin now?
    3. Do i need to redirect those 7 pages using Redirection plugin?

    I wanna hear your advises.

    Odpovědět
    • Hi Alfiant, Please give it sometime. There is no side-affect of leave AMP plugin for a while when noindex is process is underway. Thanks!

      Odpovědět
  59. This article is totally confusing. You need to elaborate; you need to explain more. You understand what needs to be done, but you’re explaining it terribly.

    Odpovědět
    • Please read article more than once, maybe twice or thrice. I am sure, you will be able to understand.
      All steps are clearly written in seperated heading. Feel free to ask if you’ve any specific question. I am always ready to help.

      Odpovědět
  60. Thank you so much for this article! easy to read and understand for average webmaster. This really help me when I want to remove this AMP headache.

    Odpovědět
  61. Thanks this has been a very helpful guide! I disabled AMP and found that I lost traffic because I no longer appeared on google Discover. Turns out this was feeding me about 15-20% of my traffic. However, leaving AMP has increased my ad earnings quite substantially so I think I am ahead from an earnings POV. However, I really wish there was a way to enable AMP specifically to appear on Google Discover. Any suggestions?

    Odpovědět
  62. 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?

    Odpovědět
  63. 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.

    Odpovědět
  64. Enjoyed reading the article above, really explains everything in detail, and the article is very interesting and effective. Thank you and good luck with the upcoming articles

    Odpovědět