Wyłącz AMP w WordPressie w sposób przyjazny dla SEO

Projekt Accelerated Mobile Pages (AMP) jest inicjatywą open source, która twierdzi, że ma na celu poprawę mobilnego user-experience. Wdrożenie AMP nie jest łatwe. Istnieje wiele potencjalnych problemów, które pojawiają się po użyciu AMP. Dlatego lepiej jest wyłączyć AMP tak szybko jak to możliwe.

  1. Usuń link rel="amphtml" ze stron non-amp.
  2. Ustaw NOINDEX dla stron AMP

Zanim wskoczę w techniczne wyjaśnienie z dokładnymi krokami, pozwól mi powiedzieć …

Dlaczego usunięcie AMP to świetny pomysł?

  • Na chwilę zapomnij o stwierdzeniu „Speed is a ranking factor”. Tylko posiadanie najszybszej strony mobilnej w Internecie z okropnym projektem nie jest wystarczające dla wzrostu bloga. Jeśli chodzi o wartość pieniężną i branding, jeśli Twój blog nie osiąga dobrych wyników z powodu AMP, po co ryzykować?
  • Wyobraź sobie, że masz 1000 stron, Czy nie jest skomplikowane, aby upewnić się, że wszystkie strony AMP działają poprawnie lub nie? Google Search Console wyświetla ograniczone informacje, które nie są wystarczające dla webmastera do analizy użyteczności stron AMP.
  • AMP zwiększa dodatkową pracę dla blogera. Nie wszyscy blogerzy są obeznani z technologią. Musiałem sprawdzić każdą stronę internetową. Znalazłem gdzieś YouTube iframe nie działa, nie ma formularza komentarza, nawet jakiś kod HTML nie działał w moim polu autorskim itp. Rzeczywiście, AMP zmusza webmasterów do wielu poświęceń.
  • Uważam, że korzystanie z dodatkowych wtyczek to zapraszanie ewentualnych błędów, obawy o bezpieczeństwo i konflikt z innymi wtyczkami. Jak dotąd nie udało mi się znaleźć żadnej niezawodnej wtyczki dla AMP.
  • Obecnie AMP nie jest czynnikiem rankingowym dla mobilnych SERPów. Tak, to może być niesamowite, mind blowing dla wydawcy newsów za ranking pod nagłówkiem tzw. „Top Stories”. Ale, co z nowym blogiem? Czy warto ryzykować dla AMP?
AMP is not a ranking factor

Dlaczego usunąłem AMP z mojego Bloga? – Wielkie powody

Już po kilku dniach od zainstalowania wtyczki AMP miałem do czynienia z wieloma frustrującymi problemami. Byłem więc bardzo rozczarowany i postanowiłem ją usunąć. Poniżej znajduje się kilka linków z godnymi uwagi problemami.

Referencje: Lista problemów, które napotkałem z wtyczką AMP for 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/
  • https://twitter.com/TheGulshanKumar/status/827897651282706432

Nawet, musiałem naprawić problemy AMP strona po stronie, jak daleko mogłem odkryć -.

  • Zauważyłem, że w AMP, Google AdSense nie radzi sobie najlepiej.
  • Kiedy masz długie strony z treścią, sprawdzanie każdego elementu strony internetowej działa poprawnie lub nie staje się żmudne. Byłem przerażony, gdy zobaczyłem, że niektóre z moich iframe’ów wideo z YouTube nie działają. W końcu i to naprawiłem dodając kilka wymaganych JS, przez chwilę nie było wiadomo.

Jak wyłączyć strony AMP dla WordPressa?

Złote zasady

Nie dezaktywuj po prostu żadnej wtyczki AMP i załóż zrobione.

Nie przekierowuj z AMP do permalinków Non-AMP, gdy strony AMP są nadal indeksowane w SERPach. W przeciwnym razie twój organiczny odwiedzający zobaczy błąd.

AMP error
AMP Sucks wiele sposobów i to jest jeden z nich jak trudno jest zrezygnować.

Koncepcja rozwiązania wyłączenia AMP bez błędu 404

Jak wiemy, Googlebot odkrywa strony AMP za pomocą linku rel="amphtml" z nagłówka strony.

Na szczęście ten znacznik nie ma nic wspólnego bezpośrednio z ludzkimi odwiedzającymi. Możemy więc go usunąć, aby poinformować ludzi z Google, mam na myśli Googlebota, że nie mamy żadnej wersji AMP strony. 🤷

W międzyczasie Google de-indeksuje strony, my tymczasowo utrzymamy serwowanie stron AMP dla naszych gości poprzez utrzymywanie aktywnej wtyczki AMP.

W trakcie dyskusji na ten gorący temat, w naszych głowach pojawiało się główne pytanie – czy to aby na pewno jest to możliwe?

Co jeśli Google uzna strony w wersji AMP za duplikat URL dla canonical?

Oczywiście będzie to spowodowane tym, że usunęliśmy znaczniki relacji. Opierając się na tej koncepcji, gorąco polecam używanie NOINDEX do usuwania stron AMP z wyszukiwarki Google.

Aby wyłączyć strony AMP prawidłowo bez wpływu na SEO, wszystko co musisz zrobić to wykonać główne dwa kroki:-.

  1. Najpierw usuń link rel="amphtml" wyjściowy ze stron non-amp.
  2. Ustaw NOINDEX dla stron AMP

Ciekawe, czyż nie? Przejdźmy krok po kroku do praktycznych szczegółów.

Metoda zalecana dla użytkowników AMP

AMP official
  • Dezaktywuj i usuń wtyczkę AMP.
  • Zainstaluj i aktywuj wtyczkę AMP for WP (To ułatwi proces)
  • Przejdź do ustawień zaawansowanych AMP for WP
  • Włącz „Zmień punkt końcowy na ?amp”, aby przywrócić strukturę permalink AMP oficjalnej wtyczki.
  • Ponownie w ustawieniach zaawansowanych, czy widzisz obszar tekstowy dla Enter HTML in Head ? Wpisz poniższy kod.
<meta name="robots" content="noindex,follow"/>
  • Na koniec, przewijając stronę w dół do ostatniej, włącz „Dev Mode w AMP„.
  • Utrzymuj ten status przez 7 dni, aż wszystkie strony AMP znikną z SERPów.

Zalecana metoda dla użytkowników AMP dla WP

amp for wp
  • Zainstaluj i aktywuj wtyczkę AMP for WP
  • Przejdź do Zaawansowanych ustawień AMP dla WP
  • Czy widzisz pole tekstowe dla Enter HTML in Head ? Wprowadź poniższy kod, aby noindex AMP z SERPów.
<meta name="robots" content="noindex,follow"/>
  • Przewiń stronę w dół, włącz „Dev Mode w AMP„.
  • Utrzymuj ten status przez 7 dni, aż wszystkie strony AMP znikną z SERPów.

To wszystko. I, to jest właściwy SEO-friendly sposób na pozbycie się AMP.

FYI: Kiedy włączasz tryb dev, automatycznie usuwa rel=”amphtml”. 😎


Stara metoda dla AMP dla użytkowników WP

Krok 1. Usuń z głowy wyjście rel=”amphtml”

Używając RegEx, możesz dopasować ciąg i zastąpić go pożądaną wartością (która jest pusta). Myślę, że jest to zdecydowanie najłatwiejsze do usunięcia rel="amphtml" z wyjścia HTML WordPressa.

W prostych słowach, dzięki poniższym sprytnym krokom, zeskanujemy znaczniki AMP na stronach HTML WordPressa, usuniemy je w locie za pomocą Search & Replace via RegEx.

Regular Expressions
Sprawdzone wyrażenia regularne

Proces

Aby usunąć link rel="amphtml" z głowy, przejdź do tych kroków.

  1. Zainstaluj i aktywuj najbardziej przydatną wtyczkę o nazwie Real-Time Find and Replace. Ta wtyczka pozwala dynamicznie (tj. w czasie, gdy strona jest generowana) zastąpić kod i tekst z motywów i innych wtyczek kodem i tekstem wybranym przez Ciebie, zanim strona zostanie dostarczona do przeglądarki użytkownika.
    real time find and replace
  2. Idź do Tools > Real-Time Find and Replace
    Real Time Find and Replace Settings
  3. Sprawdź Użyj Regex
  4. W polu Find wpisz dokładnie <link rel="amphtml" href="(.+)" >
  5. W polu Replace pozostaw puste miejsce.
  6. Zaktualizuj ustawienia. To wszystko.
    remove AMP rel markup

Jesteśmy wdzięczni autorowi, ta wtyczka oszczędza nasz cenny czas.

Krok 2. Ustawienie NOINDEX dla stron AMP

Jest to ważny krok, aby uniknąć indeksowania duplicate content, ponieważ w ostatnich krokach usunęliśmy rel="amphtml" z nagłówka strony.

  1. Otwórz ustawienia wtyczki AMP for WP
  2. Przejdź do SEO
  3. Dodaj poniższy kod meta do sekcji head
<meta name="robots" content="noindex,follow"/>
noindex amp

Ten proces nie będzie miał wpływu na ranking twoich stron kanonicznych (Non-AMP) .

Alternatywnie, dodaj poniższy snippet za pomocą wtyczki 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 );
}

Jak sprawdzić status Noindex dla AMP?

Oto prosty sposób.

  1. Przejdź do Google.com
  2. Szukaj jak https://www.gulshankumar.net/pl/*/amp/

Po wykonaniu powyższego procesu należy aktywować wtyczkę AMP do momentu, gdy w wyszukiwarce pojawi się 0 zaindeksowanych stron AMP.

Rzeczy do zrobienia po 7 dniach od zakończenia noindeksu stron AMP

Dziękuję za dotychczasowe przeczytanie tego artykułu. Bardzo doceniam twój cenny czas. Jeśli potrzebujesz jakiejś pilnej pomocy dotyczącej usuwania stron AMP lub potrzebujesz rozwiązania dla niestandardowego podejścia. Zapraszam do dyskusji w sekcji komentarz. W następnej chwili będę z Tobą, aby pomóc. Dzięki!

Ta metoda jest sprawdzona i zadziałała u mnie. Mam szczęście, ten poradnik został doceniony przez autora Marketing91, The Kinsta Blog i nie tylko.

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

✅ Jak wyłączyć denerwujące AMP jako użytkownik? 🤔

Użyj przeglądarki Firefox i nie używaj mobilnej przeglądarki Google Chrome.

✅ Jak zapobiec wyświetlaniu błędu 404 dla stron AMP w Google SERPs?

Zrobiłeś prawdopodobnie źle, po prostu dezaktywując wtyczkę w nadziei, że teraz AMP nie pokaże się w Google. To nie jest właściwy sposób. Musisz usunąć tag amphtml z kodu źródłowego i noindexować strony AMP.

✅ Jakie są główne powody, dla których powinienem unikać korzystania z Google AMP?

AMP niszczy projektowanie stron internetowych. Zwiększa dodatkową pracę, którą można lepiej zainwestować w inne produktywne rzeczy, takie jak pisanie artykułów i zarabianie pieniędzy.

✅ Czy AMP poprawia PageSpeed? 🚀

Lepiej jest zrobić stronę faktycznie szybszą niż polegać na jakimś pluginie, ponieważ może on mieć błędy i problemy z bezpieczeństwem.

✅ Czy AMP jest czynnikiem rankingowym Google? 📈

Cóż, głównym zadaniem Google jest wyświetlanie trafnych odpowiedzi na zapytania. Czy używasz AMP czy nie, nie ma to znaczenia. John z Google oficjalnie potwierdził, że nie jest to czynnik rankingowy.

✅ Ile czasu może zająć Google noindeksowanie wszystkich stron AMP?

Rozpatrzenie prośby o noindex może potrwać kilka tygodni.

Dodaj komentarz

154 komentarze do “Wyłącz AMP w WordPressie w sposób przyjazny dla SEO”

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

    Odpowiedz
  2. 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.

    Odpowiedz
  3. 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?

    Odpowiedz
  4. 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?

    Odpowiedz
  5. 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.

    Odpowiedz
  6. 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.

    Odpowiedz
    • 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.

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

    Odpowiedz
    • 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!

      Odpowiedz
  8. 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.

    Odpowiedz
  9. 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?

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

      Odpowiedz
  10. 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

    Odpowiedz
  11. 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

    Odpowiedz
  12. 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

    Odpowiedz
    • 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

      Odpowiedz
      • 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!

        Odpowiedz
  13. 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.

    Odpowiedz
  14. 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?

    Odpowiedz
  15. 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?

    Odpowiedz
      • 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 🙂

        Odpowiedz
        • 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.

          Odpowiedz
          • 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?

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

    Odpowiedz
  17. 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?

    Odpowiedz
    • 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.

      Odpowiedz
  18. 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?

    Odpowiedz
  19. 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..

    Odpowiedz
  20. 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?

    Odpowiedz
    • 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).

      Odpowiedz
      • 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.

        Odpowiedz
  21. 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.

    Odpowiedz
      • 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

        Odpowiedz
  22. 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?

    Odpowiedz
  23. 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.

    Odpowiedz
  24. 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?

    Odpowiedz
  25. Hello!

    You may setup a Redirection rule

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

    To
    https://example.com/$1

    As discussed earlier.

    Thanks & Regards,
    Gulshan

    Odpowiedz
  26. 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?

    Odpowiedz
  27. 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.

    Odpowiedz
  28. it was very helpful
    my adsense earning was going down from last 3 months
    after applying these changes earning has been restored within week

    Odpowiedz
  29. 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%.

    Odpowiedz
  30. 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!

    Odpowiedz
  31. 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.

    Odpowiedz
  32. 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.

    Odpowiedz
  33. 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.

    Odpowiedz
    • 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.

      Odpowiedz
  34. 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.

    Odpowiedz
    • 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.

      Odpowiedz
  35. 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.

    Odpowiedz
  36. 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

    Odpowiedz
  37. 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?

    Odpowiedz
  38. 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.

    Odpowiedz
  39. 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.

    Odpowiedz
  40. 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!

    Odpowiedz
  41. Hello GulshanKumar,
    I installed AMP for WP plugin on my site. But still it’s not showing on Google.

    Please help.

    Odpowiedz
  42. 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!

    Odpowiedz
  43. 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]?

    Odpowiedz
    • 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!

      Odpowiedz
  44. 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

    Odpowiedz
  45. 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.

    Odpowiedz
  46. 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?

    Odpowiedz
  47. 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

    Odpowiedz
  48. 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.

    Odpowiedz
  49. 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 🙂

    Odpowiedz
  50. 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.

    Odpowiedz
  51. 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,

    Odpowiedz
  52. 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.

    Odpowiedz
  53. 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

    Odpowiedz
  54. 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.

    Odpowiedz
  55. 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.

    Odpowiedz
    • 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

      Odpowiedz
    • 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.

      Odpowiedz
  56. 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.

    Odpowiedz
  57. 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?

    Odpowiedz
  58. 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

    Odpowiedz
  59. 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

    Odpowiedz
  60. 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.

    Odpowiedz
  61. 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.

    Odpowiedz
    • 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.

      Odpowiedz
  62. 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

    Odpowiedz
  63. 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 🙂

    Odpowiedz
  64. 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 .

    Odpowiedz
  65. Pretty! Тһis һas been an incredibly wonderful article.
    Many thankѕ for providing tһеsе details for disabling AMP

    Odpowiedz
  66. 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.

    Odpowiedz
    • Hi Dear Navis,
      Welcome back to my blog! I will make sure to keep updating with the most useful content. Thanks for stopping by!

      Odpowiedz
  67. 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.

    Odpowiedz
  68. 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.

    Odpowiedz