Muitos blogs e sites que aderiram ao movimento do Google AMP agora o estão desativando por diferentes motivos. Isso ocorre porque o AMP remove diferentes elementos do seu site para melhorar a velocidade de carregamento.
Em nossa experiência com testes de páginas AMP, notamos menos conversões, visualizações de página e engajamento geral. Além disso, a versão mais recente do Google Analytics não é compatível com o Google AMP. Como resultado, você não verá nenhuma página AMP no WPBeginner.
Neste artigo, mostraremos a você como desativar corretamente o Google AMP no WordPress.
Por que você deve desativar o Google AMP no WordPress
O Accelerated Mobile Pages (AMP) é uma iniciativa de código aberto para tornar a Web mais rápida para usuários móveis e melhorar a experiência do usuário.
Ele faz isso servindo páginas com o mínimo de HTML e JavaScript. Isso permite que o conteúdo seja hospedado no Google AMP Cache. O Google pode então fornecer essa versão em cache aos usuários instantaneamente quando eles clicam no seu link nos resultados da pesquisa.
No entanto, se você optou por configurar o Google AMP no WordPress, pode achar que fez a escolha errada.
Você não está sozinho. Muitos blogueiros, influenciadores e publicações on-line pararam de usar AMP em seus sites WordPress.
Primeiro, vamos explicar por que você pode considerar a desativação das AMP em seu site WordPress e, em seguida, vamos orientá-lo no processo.
O Google Analytics 4 não é compatível com AMP
O Google Analytics 4 ou GA4 é a versão mais recente do Google Analytics que rastreia seu site e aplicativos móveis na mesma conta. Ela traz muitas mudanças, incluindo novos métodos de rastreamento, recursos de relatório, métricas e relatórios.
Entre essas mudanças está o fato de que o GA4 não oferece suporte oficial a AMP no momento, e não está confirmado se ele funcionará no futuro. Um dos motivos para isso é que ele rastreia os visitantes do seu site e do aplicativo na mesma propriedade.
No entanto, o Google disse que você só poderá acessar dados antigos na propriedade do Universal Analytics até 1º de julho de 2024. Isso significa que você ainda pode acessar os relatórios do Universal Analytics para visualizar dados anteriores, mas ainda não poderá rastreá-los na versão mais recente.
Queda drástica nas taxas de conversão
O Google AMP define muitas restrições para HTML/JavaScript. Isso significa que muitos elementos interativos do seu site WordPress não são incluídos nas AMP, como formulários de opt-in e pop-ups de intenção de saída.
Como resultado, os proprietários de sites não podem incentivar os usuários a se inscreverem, preencherem formulários de contato ou comprarem produtos.
Menores visualizações de página por usuários móveis
As AMP não mostram as barras laterais de seu site nem outros recursos de descoberta de conteúdo. Isso causa uma queda significativa nas visualizações de página por usuários móveis.
Na verdade, alguns especialistas em experiência do usuário sugerem que o botão Fechar na parte superior incentiva os usuários a retornar à pesquisa do Google depois de ler o artigo, em vez de navegar pelo site.
Menor envolvimento do usuário
Muitos sites prosperam com as interações dos usuários, como widgets de clique para tweetar, classificações de usuários, comentários e assim por diante. O Google AMP torna bastante difícil para os proprietários de sites manter os usuários envolvidos e interagir com seu conteúdo.
Você deve desativar o Google AMP?
A resposta a essa pergunta depende, na verdade, de seu site. Se os usuários de dispositivos móveis constituírem a maior parte do seu público, talvez você ainda queira usar AMP.
Por outro lado, se você já experimentou o Google AMP e ele afetou negativamente suas taxas de conversão, então você provavelmente deve desativar o Google AMP em seu site.
Ao contrário da crença popular, o Google não penaliza os sites por não usarem AMP. Você ainda pode melhorar a velocidade e o desempenho do seu site no celular para competir por um público de pesquisa móvel.
Com tudo isso em mente, vamos ver como você pode desativar as AMP em seu site WordPress.
Como desativar os plug-ins do Google AMP no WordPress
Nem todo mundo usa os mesmos plug-ins do WordPress para adicionar suporte a AMP em seus sites. No entanto, as configurações básicas permanecem as mesmas, independentemente do plug-in que você usa.
A primeira coisa que você precisa fazer é desativar o plug-in AMP que você instalou.
Basta acessar a página Plugins ” Plugins instalados no painel do WordPress e clicar em “Desativar” abaixo do nome do plug-in AMP.
A simples desativação do plug-in desativará o suporte a AMP em seu site. No entanto, há mais algumas etapas a serem seguidas para garantir que seu site esteja livre de AMP.
Configuração de redirecionamentos para páginas AMP
Desativar o plug-in AMP removerá a versão AMP de seus artigos do site. No entanto, isso por si só não é suficiente, especialmente se você tiver o AMP ativado por mais de uma semana.
Há uma boa chance de que o Google já tenha essas páginas indexadas e continue a exibi-las nos resultados de pesquisa. Se um usuário clicar em uma delas e você a tiver removido do seu site, ele encontrará uma página 404, pois o conteúdo está ausente.
Para corrigir esse problema, é necessário redirecionar os usuários que chegam às páginas AMP para as páginas normais que não são AMP.
Mostraremos dois métodos diferentes para configurar redirecionamentos para o Google AMP, primeiro usando um plug-in e depois usando código. Você pode escolher o que for mais conveniente para você.
Método 1: Usando um plug-in de redirecionamento
A maneira mais fácil de configurar o redirecionamento no WordPress é usar o plug-in All in One SEO (AIOSEO). É o melhor plugin de SEO para WordPress que oferece um poderoso gerenciador de redirecionamento.
Observe que você precisará da licença do AIOSEO Pro porque ela inclui o gerenciador de redirecionamento.
Primeiro, você precisará instalar e ativar o plug-in All in One SEO (AIOSEO). Para obter mais detalhes, consulte nosso guia passo a passo sobre como instalar um plug-in do WordPress.
Após a ativação, você pode acessar All in One SEO ” Redirects no painel do WordPress e clicar no botão “Activate Redirects”.
Isso o ajudará a instalar o complemento AIOSEO Redirection Manager que lida com esse recurso. Após a ativação, você será levado à guia “Redirects”. Aqui, você pode inserir os URLs de origem e de destino para configurar o redirecionamento.
Primeiro, você precisará clicar no ícone de “engrenagem” no campo URL de origem e, em seguida, ativar a caixa de seleção “Regex”.
Depois disso, você pode adicionar o seguinte código no campo Source URL (URL de origem):
^/(.*)\/amp
No campo Target URL (URL de destino), você precisa adicionar o URL do seu site no seguinte formato:
https://example.com/$1
Não se esqueça de substituir “example.com” por seu próprio nome de domínio.
Em seguida, você pode manter o “Redirect Type” como 301 Moved Permanently. Dessa forma, seus usuários serão redirecionados permanentemente para as páginas não-AMP.
Por fim, clique no botão “Add Redirect” para salvar suas alterações.
Agora você pode visitar o URL de uma página AMP antiga em seu site para ver se o redirecionamento está funcionando corretamente.
O AIOSEO também ajuda a rastrear links quebrados em seu site. Você pode identificar rapidamente as páginas AMP que levam a erros 404 e redirecioná-las. Para obter mais detalhes, consulte nosso guia sobre como rastrear páginas 404 e redirecioná-las no WordPress.
Método 2: definir manualmente os redirecionamentos no .htaccess
Se não quiser usar um plug-in para configurar redirecionamentos, você poderá configurar o redirecionamento usando o arquivo .htaccess na sua conta de hospedagem do WordPress.
Primeiro, você precisará se conectar ao seu site usando um cliente FTP ou o Gerenciador de arquivos no cPanel. Para obter mais detalhes, consulte nosso guia sobre como usar o FTP para fazer upload de arquivos no WordPress.
Uma vez conectado, você precisa localizar o arquivo .htaccess na pasta raiz do seu site.
Em seguida, você pode editar o arquivo em sua pasta raiz.
Em seguida, basta adicionar o seguinte código na parte inferior de seu arquivo .htaccess:
// Redirect AMP to non-AMP
RewriteEngine On
RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
RewriteRule ^ %1/ [R=301,L]
Não se esqueça de salvar suas alterações e fazer upload do arquivo de volta para o servidor.
Agora, você pode visitar o URL da versão AMP anterior de qualquer publicação em seu site para garantir que o redirecionamento funcione como pretendido.
Esperamos que este artigo tenha ajudado você a desativar corretamente o Google AMP no WordPress. Talvez você também queira ver nosso guia passo a passo de SEO definitivo para WordPress para iniciantes e as melhores dicas para acelerar o WordPress.
Se você gostou deste artigo, inscreva-se em nosso canal do YouTube para receber tutoriais em vídeo sobre o WordPress. Você também pode nos encontrar no Twitter e no Facebook.
Sarah
Hi,
Tried adding :
// Redirect AMP to non-AMP
RewriteEngine Aan
RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
RewriteRule ^ %1/ [R=301,L]
But still lots of 404’s looking for AMP?
WPBeginner Support
We would recommend checking with your hosting provider as some have settings that need to be applied for redirects to work.
Administrador
Ravi Bandakkanavar
Thanks for the redirection trick. It worked like a rocket
WPBeginner Support
Glad our guide could help!
Administrador
Vyom Manikya
After following all the steps, now I’m getting this error “Discovered – Currently not Indexed” for my non-amp pages.
Loren
I’ve tried applying this to a site I’m working on without any luck. I’ve cleared cache and tried a handful of other things, but the redirects do not seem to be catching. Does this work for sites that google is wrapping the url in themselves?
Scott Hunt
I installed the Redirection Plugin and followed the process. Amp was only Active on our mobile version and only showed if our website was searched, for example, Delta, and then clicked on the link. If you entered the URL in the address bar it would show our website correctly. I am at a loss!
I know it was amp because Amp is the in URL when the website is not displayed correctly. Any advice would be sincerely appreciated.
WPBeginner Support
You would want to ensure you clear any caching you have on your site as that could be showing the cached version of the page on your site instead of the updated version.
Administrador
James
Hey WPbeginner, Great article and helped me so much with my website .
Thanks
WPBeginner Support
Glad our guide was helpful
Administrador
GILL COTTER
I did it and it works thanks.. I was in a panic. Just one thing – a little sad looking emoji guy pops up and says ‘404 that’s an error’ just before the user is directed to the correct page. It pops up for a minute then goes away. How can I get rid of him?
WPBeginner Support
You may either need to clear your browser cache or check with your hosting provider to ensure there isn’t something causing issues with your redirects.
Administrador
Hicham
It works, Thanks so much ☺
WPBeginner Support
Glad our guide was helpful
Administrador
Akshay Malhotra
Thank you so much for this post. As always WP beginner rocks!
WPBeginner Support
Glad you found our content helpful
Administrador
sai ram
I have removed AMP from my website but when disabled my AMP i will recieved new issue in Google Search Console as a “Referenced AMP url is not an AMP”.
Please tell me sir how can it solved.
WPBeginner Support
You would want to set up redirection following step 2 for fixing that issue.
Administrador
Mustafa
That’s great info and help guys. Thanks a lot. Here’s my question:
What is the right direction code or way for redirect my old website’s amp pages to my new domain’s non-amp pages?
WPBeginner Support
You would want to follow step 2 in the article and have the source URL be the old domain before the / in our recommendation.
Administrador
Daniel
Can I delete the Redirect plugin when all the amp pages are deindexed from Google?
WPBeginner Support
We would recommend keeping the plugin active while using the redirect if you use the plugin method.
Administrador
Faiz Khan
Today I desabled AMP plugin. When I checked my website with AMP URL it showing error.
WPBeginner Support
That issue is solved with the redirects which we show in this article
Administrador
Stephen Walker
Hit a little snag. I have added the code you suggest to my .htaccess file. I now get an internal error 500 from the server if I am trying to access an amp post. Normal pages display correctly.
WPBeginner Support
For the 500 error, we would recommend first going through our guide below for possible solutions:
https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/
Administrador
Alvine
Thanks for the wonderful article. I wonder how one can remove just a single page from amp. Your method only explains removing all amp pages of a website but I want to remove just one page. How can I remove it please help.
WPBeginner Support
You would want to check with the plugin’s support for if that is currently an option. Normally, you should see an option on the page/post itself to not use AMP.
Administrador
Laura
This is super easy to follow, so I’m so grateful to have found this post – but my AMP pages are still showing on Google, even after doing the redirection using the Redirection plugin. I’m not sure what to do, I saw in the comments something about caching, but I’m not sure how to do this?
WPBeginner Support
For Google’s cache, you would need to have Google recrawl your site with its URL checker or wait for Google to notice the update and change your links.
Administrador
Adeel Qadir
Thanks for such a nice article and your way of explaining was very simple. With this helpful article, I have easily redirected my website and remove AMP successfully.
Lots of thanks
WPBeginner Support
You’re welcome, glad our guide was helpful
Administrador
Parkashjit Singh
Hi Sir, i following all the steps but, i saw all the amp link on google which are ranked now how i can removed that amp ranked links on google. As well when i search on google about my site then i saw amp logo after my site tittle even now I’m not using apm. Now how i removed that icon.
WPBeginner Support
You would need to have Google recrawl your site to start removing the content from Google’s search results.
Administrador
Parkashjit Singh
How, is there any tutorial or bog. Please send me
WPBeginner Support
You can find our article on how to do this below:
https://www.wpbeginner.com/wp-tutorials/how-to-ask-google-to-recrawl-urls-of-your-wordpress-site/
Raj Deep
My site uses ssl and is on https. Should I use https or http in the redirection ?
WPBeginner Support
Use HTTPS
Administrador
Robin
Hey I have page which have /?amp AMP format. So what change I have to do for proper redirection,
As the code given above /(.*)\/amp is only redirection pages with /amp.
Please tell me what change required for this ? thing.
WPBeginner Support
You could create an additional redirect where you add * before amp if you customized your amp URLs to show like that.
Administrador
Bob Morris
Thanks. I found this article after one too many posts with 17 indecipherable AMP errors
WPBeginner Support
Glad our guide could be helpful
Administrador
Farblos Kay
This is the best website to learn and fix anything WordPress. You guys are geniuses!
WPBeginner Support
Thank you, glad you find our content helpful
Administrador
Subodh Gupta
I have disabled AMP on my site using the mentioned codes. But the post/page previews are showing in AMP mode. What to do? Using TagDiv NewsPaper theme.
WPBeginner Support
You would want to ensure you’ve cleared all of your caching for the most common reason for that.
Administrador
Adnan
Yours AMP pages are in Google cache, so when Google Bot re-index and check no rel=”amphtml” tag they index non-AMP page.
Julia
Hi, this article sounds very useful, thanks for sharing!
Before I will deactivate/uninstall AMP plugin as well, I have to ask a question.
I have, by mistake, redirected few of amp links (with amp plugin already installed) to my normal url link:
example.com/amp to example.com
The reason why I did that redirect with redirection plugin, is that I had no knowledge of what amp is, and so I thought it’s an error, when I was migrating my site.
Now my question is, should I rather disable all my redirects with amp and then disable/uninstall the AMP plugin and then do the bulk redirect ?
Thank you for your help!
WPBeginner Support
To be safe you may want to create an export of your current redirects, remove them, then do the method in this article to prevent the possibility of multiple redirects
Administrador
Pratik Bhatt
Hi,
Can you tell me, when we can remove the redirection plugin. Does google remove the amp pages automatically after some time?
WPBeginner Support
Once the amp pages are no longer being indexed you can remove the redirection. It takes time and Google recrawling your site for the links to be removed.
Administrador
Pratik Bhatt
Thanks for the quicky reply.
One more question, I’ve to ask, If I don’t do the redirection, then still google remove the amp pages after some time?
Thanks.
WPBeginner Support
Eventually yes
sam
Hi
I followed the steps above. However, when searching on my mobile device the amp pages are still popping up (It’s only been a few hours so this may be why). When I search on desktop device and type in domain.com/amp the redirect works perfectly. Do you know why this is happening?
WPBeginner Support
You would need to clear any caching as the most common reason it would still be showing up.
Administrador
Kuldeep Singh
Worked like a charm.
Thanks!
WPBeginner Support
Glad our guide was helpful
Administrador
Jason
Great Guide! Worked like a charm.
WPBeginner Support
Thank you, glad our guide was helpful
Administrador
ahs shaikh
thank you very much for this blog post…
WPBeginner Support
You’re welcome
Administrador
Rahul sarawagi
Hey,
I tried this way and now my website is not loading, it is giving an error message that
” redirected you too many times ”
Please help me out in getting it back.
WPBeginner Support
For the too many redirects error, you would want to take a look at our guide here: https://www.wpbeginner.com/wp-tutorials/how-to-fix-error-too-many-redirects-issue-in-wordpress/
Administrador
Dietrich
I have done method 1 and cleared/deleted cache and it still shows the AMP version? Any tips how to fix?
WPBeginner Support
You would want to check that your host does not have caching enabled and your redirects do no have any typos
Administrador
Rohit verma
i have done the first method but it still shows amp version what to do?
WPBeginner Support
You would want to clear any caching as the most likely cause
Administrador
Subham
Hi,
You guys are doing great.
After creating AMP i have seen down in my traffic.
So i decided to remove that and i did.
I got many errors. So, i had to install amp again.
Now finally this article helped me a lot to completely remove amp.
Thank you very much WPbeginner.
You are a lifesaver!
WPBeginner Support
Glad our guide could be helpful
Administrador
Catherine Thomas
THANK YOU!!!! Method #1 worked perfectly!!!
WPBeginner Support
Glad our recommendations could help
Administrador
Akash Gogoi
Can I disable redirection plugin after AMP completely gone from Google search result? Please help.
WPBeginner Support
If you would like you can. Be warned that would remove the redirects so if the links start appearing as broken links in your search console you may need to readd the redirects.
Administrador
Enes
Hey. Thank you very much for the info but i had a question. It does not work with me method 1. it suppose to be non amp as soon as i do redirect right ?
my website is https so i made it as https that what it should be ? Thanks in advance
WPBeginner Support
If you are using https then you would want the second field as https, as long as you don’t have caching then it should automatically update. If not, you would want to reach out to the plugin’s support for them to take a look.
Administrador
Suanlian Tangpua
When should I remove the redirection?
WPBeginner Support
As it would depend on if Google still links to your AMP pages, we don’t have a set time to remove it we would recommend at the moment.
Administrador
Hiral
Hi, thanks for helping. I used method 1. All the blog posts are being displayed in proper format but home page, about, contact such pages are still being displayed in AMP. How to fix it?
WPBeginner Support
You may want to check with the author of the redirection plugin to ensure there isn’t a hiccup with the created redirect.
Administrador
Elsaid
Thanks a lot
Now I disable and delete AMP Plugin. and redirect lINKS by first method.
but I have a question , If I want reinstall AMP plugin again
what I should do about redirections????
WPBeginner Support
You would need to remove the redirections.
Administrador
Kumarpal Shah
I’ve used Method 1 – Using Redirection Plugin. Now, my question is after adding the redirection is it necessary to keep plugin installed & activated?
OR I can remove the plugin after adding the redirection?
WPBeginner Support
Using the plugin, you would need to keep the plugin active for the redirects to continue.
Administrador
Mario
It worked for me wpbeginner thanks a lot
Amp is not advisable use
WPBeginner Support
Glad our article could help
Administrador
foodstyling
Hi,
I used the redirection method and the AMP pages are redirected to fine, but the address remain as /?amp.
Should I worry?
WPBeginner Support
If the redirection is working correctly, then you do not need to worry about the urls.
Administrador
Mark Llego
I would like to know how can I 301 redirect if my amp url is structured like this
site.com/amp/your-article/
I am using better amp.
Thank you.
WPBeginner Support
Hi Mark,
The htaccess method in this post should handle that redirect for you
Administrador
Joanna
Thank you so much! I was struggling with accidentally adding AMP pages and then removing them to losing a lot of traffic. Then, I felt defeated, so I reinstalled AMP. Method 1 with the Redirection plug-in was so easy I wish I had seen this sooner. THANKS!!
WPBeginner Support
Glad our article could help
Administrador
Rajesh Ranjan
hii, i followed each and every step but its not working on my Wordpress website.
WPBeginner Support
If you removed AMP completely and clearing your cache did not remove the AMP versions you may want to check with your hosting provider to ensure they don’t have caching or similar that would be affecting the AMP pages.
Administrador
Margaret
I’m using the Yoast plugin for redirects – what do I input and where to redirect my amp urls to my non-amp ones?
Manh Nguyen
I do as instructed, how long does my site return to normal ?
Thanks!
katie larking
Hi I disabled the AMP plugin and set up a redirect as per the article. The redirect works, but the AMP pages are still in google index and working. How long until google replaces them with my non amp pages. Please let me know how long it takes organically vs anything I can do to speed this up that is proven to work. Thankyou!
Aaron Hunter
This helped so much thank you! I’ve asked WP support, and they had nothing to offer me for a solution. The new version of Wordpress.com doesn’t let you deactivate AMP so I used the Redirection plugin. Thank you again!!!
Keith Whitworth
You are an absolute lifesaver! After implementing AMP, my user engagement dropped significantly, my site links in Google totally disappeared, my ranking (for my niche) was at the bottom of the barrel.
AMP is not really designed for podcasts AT ALL.
Once I decided it wasn’t going to work out, I deleted the plugin only to generate thousands of 404 errors related to AMP. I found myself creating unnecessary laborious work creating redirects every day as they popped up.
Finally, I got frustrated and performed a search and replace in my database to remove amp/ which was a massive mistake. Suddenly my site was no longer available. I deleted the plugin and everything was restored but what to do about all the 404 errors related to AMP?
I ran across your website through a Google search and presto. In one fell swoop, all my headaches disappeared. My sitelinks have been restored and yesterday I received an email from Google stating that mobile-first indexing was enabled on my site.
I cannot thank you enough!
WPBeginner Support
Hi Keith,
We are glad you found the article helpful You may want to join us on Twitter for more WordPress tips and tutorials. Next time you come across an issue, don’t forget to search WPBeginner first for a solution
Administrador