Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Copa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Como configurar corretamente o Google AMP em seu site WordPress

Nota editorial: Ganhamos uma comissão de links de parceiros no WPBeginner. As comissões não afetam as opiniões ou avaliações de nossos editores. Saiba mais sobre Processo editorial.

Deseja configurar o Google AMP em seu site WordPress?

AMP significa Accelerated Mobile Pages (Páginas Móveis Aceleradas) e é uma forma de fazer com que seu site seja carregado mais rapidamente em dispositivos móveis. Os sites de carregamento rápido oferecem uma melhor experiência ao usuário e podem aumentar o tráfego.

Neste artigo, mostraremos a você como configurar o Google AMP no WordPress.

Google AMP for WordPress

O que é o Google AMP?

Google AMP significa Accelerated Mobile Pages (Páginas móveis aceleradas). É uma iniciativa de código aberto apoiada por empresas de tecnologia como Google e Twitter. O objetivo do projeto é fazer com que o conteúdo da Web seja carregado mais rapidamente para usuários móveis.

Para muitos usuários de dispositivos móveis, a leitura na Web costuma ser lenta. A maioria das páginas ricas em conteúdo leva vários segundos para carregar, apesar de todos os esforços feitos pelos proprietários de sites para acelerar seus sites.

Accelerated Mobile Pages (AMP) in search and browser view

O Google AMP usa HTML mínimo e Javascript limitado. 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.

Ele é muito semelhante aos Instant Articles do Facebook. No entanto, os Instant Articles são limitados apenas à plataforma do Facebook, mais especificamente ao seu aplicativo móvel.

O Google AMP é independente de plataforma e pode ser usado por qualquer aplicativo, navegador ou visualizador da Web. Atualmente, ele é usado pelo Google, Twitter, LinkedIn, Reddit e outros.

Prós e contras do Google AMP (Accelerated Mobile Pages)

Especialistas em SEO afirmam que o Google AMP ajudará seu site WordPress a ter uma classificação mais alta no Google e melhorará a experiência do usuário para usuários móveis com conexões lentas à Internet. No entanto, há vários desafios para proprietários de sites, blogueiros e profissionais de marketing.

As AMP usam um conjunto limitado de HTML, JavaScript e CSS. Isso significa que você não pode adicionar determinados widgets e recursos ao seu site AMP móvel. Isso limita sua capacidade de adicionar formulários inteligentes de opt-in de e-mail, botões Curtir do Facebook e outros scripts dinâmicos.

Embora o Google AMP seja compatível com o Google Analytics, inicialmente ele não era compatível com muitas outras plataformas de análise, mas isso melhorou. As opções de publicidade também são limitadas a algumas plataformas selecionadas.

Apesar de suas limitações, o Google está incentivando as páginas AMP, dando-lhes um impulso na pesquisa móvel. Se uma parte significativa do seu tráfego for proveniente de pesquisas em dispositivos móveis, você poderá se beneficiar da adição do suporte a AMP para melhorar e manter seu SEO.

No entanto, houve algumas reclamações de blogueiros sobre o Google AMP.

Primeiro, Alex Kras afirma que você pode perder potencialmente o tráfego móvel se ativar o Google AMP. Leia o artigo com atenção, pois esse é um grande problema. E, apesar do que o líder técnico do Google para o projeto AMP disse, não há nenhuma boa solução que resolva o problema, em nossa opinião.

Em segundo lugar, Terrence Eden destaca as dificuldades de voltar a usar o Google AMP caso você mude de ideia no futuro. Não acreditamos que isso seja um grande problema, pois é possível fazer um redirecionamento 301, o que foi apontado por várias pessoas na seção de comentários das publicações do blog dele. No entanto, isso é algo em que você precisa pensar.

Pelos motivos acima, não estamos mudando o WPBeginner para o Google AMP.

No entanto, como vários de nossos leitores perguntaram sobre como configurar o Google AMP no WordPress, criamos um processo passo a passo sobre como configurar o Accelerated Mobile Pages no WordPress.

Tutorial em vídeo

Subscribe to WPBeginner

Se você não gostar do vídeo ou precisar de mais instruções, continue lendo.

Configuração de páginas móveis aceleradas ou AMP no WordPress

A primeira coisa que você precisa fazer é instalar e ativar o plug-in AMP. 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 ir para a página Appearance ” AMP para ver como seu site fica em dispositivos móveis usando AMP.

Settings page for WordPress AMP plugin

Você pode alterar o fundo do cabeçalho e a cor do texto nesta página. A cor de fundo do cabeçalho que você escolher também será usada nos links.

O plug-in também usará o ícone ou o logotipo do seu site se o tema for compatível. Consulte nosso guia sobre como adicionar um favicon ou ícone de site no WordPress para obter instruções detalhadas.

Não se esqueça de clicar no botão “Salvar” para armazenar suas alterações.

Agora você pode personalizar suas páginas AMP usando plugins. Por exemplo, você pode adicionar posts relacionados, widgets de rodapé e até mesmo ícones de mídia social às suas páginas AMP.

No entanto, você precisará validar suas páginas AMP depois de instalar qualquer plug-in complementar.

Agora, você pode visitar qualquer publicação em seu site e adicionar /amp/ ao final do URL da seguinte forma:

http://example.com/2016/10/my-blog-post/amp/

Isso mostrará uma versão AMP simplificada do mesmo post.

AMP mobile preview

Se você visualizar o código-fonte da postagem original, encontrará essa linha no HTML:

<link rel="amphtml" href="http://example.com/2016/10/my-blog-post/amp/" />

Essa linha informa aos mecanismos de pesquisa e a outros aplicativos e serviços que consomem AMP onde procurar a versão AMP da página.

Solução de problemas

Se você vir um erro 404 ao tentar visualizar a versão do amplificador, aqui está o que você precisa fazer.

Visite a página Configurações ” Permalinks em seu administrador do WordPress e clique no botão “Salvar alterações”.

Lembre-se, não altere nada aqui. Você só precisa pressionar o botão “Save Changes” (Salvar alterações). Isso atualizará a estrutura de permalink do seu site.

Visualização de páginas móveis aceleradas no Google Search Console

Deseja saber como suas Accelerated Mobile Pages estão se saindo na Pesquisa Google? Você pode verificar isso facilmente usando o Google Search Console.

Faça login no painel do Google Search Console e clique em Search Appearance ” Accelerated Mobile Pages.

Accelerated mobile pages in Google Search Console

Não se preocupe se você não vir seus resultados de AMP imediatamente. Pode demorar um pouco para o Google indexar suas Accelerated Mobile Pages e depois mostrar os dados no Search Console.

Obtendo análises precisas em páginas AMP

Um dos principais problemas com as AMP é que elas podem distorcer seus dados do Google Analytics. Os visitantes de suas páginas AMP não são rastreados com precisão e podem até ser contados duas vezes.

Para obter as análises mais precisas, recomendamos o uso do MonsterInsights. Ele é o melhor plug-in do Google Analytics para WordPress.

O complemento MonsterInsights AMP corrigirá automaticamente o rastreamento para que você obtenha as estatísticas reais dos seus visitantes.

Esperamos que este artigo tenha ajudado você a aprender como configurar as Accelerated Mobile Pages (AMP) no WordPress. Talvez você também queira ver nosso guia sobre como acelerar seu site ou nossas escolhas de especialistas sobre os melhores serviços de marketing por e-mail para expandir seus negócios.

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.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que, se você clicar em alguns de nossos links, poderemos receber uma comissão. Veja como o WPBeginner é financiado, por que isso é importante e como você pode nos apoiar. Aqui está nosso processo editorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

O kit de ferramentas definitivo WordPress

Obtenha acesso GRATUITO ao nosso kit de ferramentas - uma coleção de produtos e recursos relacionados ao WordPress que todo profissional deve ter!

Reader Interactions

87 ComentáriosDeixe uma resposta

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. tfk, the5krunner says

    the AMP pluigin disables JS scripts.
    therefore things like
    1. WordPress outbound click stats are disabled
    and
    2. Google adwords conversion tracking is disabled.

    so think carefully before using it

  3. ToTemat says

    I tested AMP on the website for over 6 months. My conclusions are like this. The website worked faster on a mobile basis, but it had no effect on its position. Additionally, plug-in conflicts appeared from time to time. Also, fewer people on AMP pages accessed subsequent pages of the website. That’s why I believe responsive pages are better and more relevant than using AMP. I turned off AMP completely by myself some time ago.

    • WPBeginner Support says

      That would be a personal preference question, we would recommend taking a look at the pros and cons we state at the start of this article.

      Administrador

  4. Sohail Ahmad says

    Hi, I don’t know which one is better for my WordPress basic or advance in the amp.
    can you give me any suggestion about it?

    • WPBeginner Support says

      That would be a personal preference question. For questions about the plugin in its current state, we would recommend reaching out to the plugin’s support.

      Administrador

  5. wishlovequotes says

    Hello Admin
    am facing amp issues with my site
    i have tried all i know but not working because the errors keep increasing on my search console
    i really need help because my site ranking and traffic is affected

    • WPBeginner Support says

      It would depend on the specific errors you are seeing on your site for what would be the issue

      Administrador

  6. mreshane says

    As i can see why ‘wpbeginner’ didnt take the step to use AMP on they site, look at all the comments, i think that is why.

    Still got error and bugs to clear, unfortunately i was trying to find solutions for using AMP but after all the comments here, i’ll take back my step … It’s not worth yet but for the Accelearating pages let just use cached plugins for now.

    Until all quite good and no more trouble using AMP i will rewrite my step but for now, lets just stay low.

    Thank you WP Beginner for the articles, it helps.

    • WPBeginner Support says

      You’re welcome, we also mention the reasons we did not add amp at the start of our article as well :)

      Administrador

  7. Apoorv says

    ‘The site is experiencing technical difficulties.’

    This is what I’m seeing when I’m opening the amp version of my site.

  8. firstfly says

    it’s very interesting, Thanks for sharing a valuable information to us & Knowledgeable also, keep on sharing like this.

  9. Alison Wright says

    HI I wondered have you now started using AMP for your own site or is it still best avoided? Love to know your view.

  10. Mohsen \hefni says

    Hello WP Beginner

    Thanks for your wonderful effort, really you gave mt a lot of help.
    Unfortunately, I couldn’t enable AMP for my website.

    Thanks

    • WPBeginner Support says

      If the method in this article isn’t working then you would want to reach out to the AMP plugin’s support and they should be able to help troubleshoot the issue :)

      Administrador

  11. Aakash says

    Hey Wpbeginner Can you plz make a guide on how to place ads in amp wordpress websites ?

    Thank you for sharing your Information :-)

  12. Subodh Gupta says

    Now Google AMP showing image size error.

    Image size is smaller than recommended size. Images should be at least 1200 pixels wide.

    That huge. What’s wrong with Google AMP?

    • WPBeginner Support says

      It is a change for Google’s top stories carousel for why that size is now being requested. The AMP plugin is saying that it is receiving that error from Google and letting you know.

      Administrador

  13. nack says

    how can we use wordpess theme into amp layout, because after entring amp url the page layout is not match as per our site url.

      • WPBeginner Support says

        AMP uses limited HTML, CSS, and Javascript. You would want to reach out to your theme to see if there is something that can be done to make the theme more AMP friendly.

        Administrador

  14. Reja says

    Thanks for this valuable article. Not only this one, but also all of your articles are so helpful for us.

    Thanks you all.

  15. Friday Alex says

    Thank you for this post!

    I already activated AMP for one of my site and it is performing well but here you did not recommend it.

    Well said, on my next site I will just leave it without implementing AMP and test the two.

    Thanks from Nigeria

  16. Fred Sessoms says

    I see more pitfalls than gains in implementing AMP – particularly with a plugin. For now, I’ll follow your advice and, “not switch to Google AMP, just yet.”

  17. Amin says

    Hi, Thank you indeed for your helpful post. I have two points:

    1- Have you used the AMP yet or not? How can I be notify if you are going to use it in the future?

    2-In w3 total cache, there is an addon for AMP, is that ok?

    For me I will not install the plugin as you recommended.

    I think you can get the best ranking when you have great content, seo, good speed which can be implemented without apm.

    Thanks indeed

  18. Sarah Carter says

    I can’t seem to get AMP analytics working. the Yoast SEO tab for analytics never saves my analytics ID. Any suggestions?

  19. pratik agarwal says

    i need to know if i can add my pages in amp , currently it is just working on posts. when i type PAGE_URL/amp it takes to 404 page

  20. Mathukutty P.V. says

    What is the difference between Automatic AMP and Accelerated Mobile Pages plugin? Free site on wordpress.com is displaying theme header image and better looking in mobile with their AMP plugin,but self hosted site with AMP do not have theme header image and not looking good like free site. Why like this?

  21. zeeshan says

    i have activated amp in my wordpress .. my question is how to now that amp is working on my posts and if i build amp page except main post then what will happen ?

  22. Harold Hunt says

    I am using AMP for WP and have generated and listed some pages. Now I want to discontinue AMP. Can I just delete the AMP for WP plugin or is it a more involved procedure?
    Thanks.

  23. Ashutosh Bharadwaj says

    Hello. I have been using the AMP plugin by Automattic without any issues for the past 6 months. However we started getting AMP errors in search console that said Prohibited or invalid use of HTML Tag on 12 pages including this one

    Has anyone noticed this?

    Posted on the plugin page as well but did not get a reply.

    I hope the bug gets resolved fast as the pages have been removed from search results and have led to a loss of traffic. :(

  24. Petra Jonartha says

    AMP can not install in my wordpress
    Every time I try to install it says “installation failed: destination folder already exist” now should I do so that the AMP in wordpress can be installed??

  25. Dishu Thakur says

    I used this plugin but i got one problem. This plugin added amp page for my home page when i tried to open that link then it will redirect it in blog amp page . How can i change it?

    • David says

      I am getting this same effect. when I go to my domain.com/amp/ It does not show home home page, but it shows blog post page. How can we change it to where it shows home page?

      • Rhett says

        Under the AMP Plugin. Go: AMP/Getting Started/Homepage then enable AMP Frontpage –> custom amp front page. Then, just below that you will select your homepage from the drop down menu.

        It should all (finally) show up on the AMP version if your homepage/front page.
        I hope that helps!

  26. Nick Patel says

    Hie Guys,

    Very informative post and WordPress is among the early supporters of Google AMP Project. Google AMP plugin for WordPress is quite useful for making the mobile web faster i.e. 4 times faster, which will be a crucial factor for enhancing user experience.
    Also, Baidu – the Chinese search engine is now supporting Google AMP project and will consider AMP sites in SERP result as Google has made it a norm for getting higher ranking on search result. Very soon others will be following the same trend and we will be witnessing Google’s footsteps.

    Thanks,
    Nick

  27. Dipendra Shekhawat says

    Great Article. Does anyone knows hoe to trigger AMP automatically when user is viewing our website on mobile device. I mean for viewing AMP pages I dont want to manually go and type /amp at the end of URL. Is there a way?

    • Eslam Tolba says

      As far as I understand, typing /amp at the end of the URL is only for testing, but the plugin already creates the AMP version of the posts and add the related HTML tag to the source code and then google will index those AMP posts and show them to mobile users

  28. Raj singh says

    AMP is not installing in my wordpress .
    Whenever I trying to install it says “Installation failed : Destination folder already exist ”

    Now what I have to do ??

  29. Sankar says

    I have use AMP on my website. But always one error detect on some posts. This is image optimization. I try to to use AMP image html code for insert image on post. But this time no image are shown. How can i fix this problem. Please help me. Thanks in advance.

  30. L. Pazzaglia says

    I WANT to switch to AMP but since many of my posts have recipes, tables and image grids none of these show up on AMP pages.

    I’d like to do AMP pages like the New York Times does, basically there is a long excerpt with a link to continue reading the story that takes you to the non-AMP page.

    Any recommendation on how to find a plug-in or how to tweak the WordPress AMP plug-in to do this?

    Thanks,

    L

  31. Allspired says

    I tried everything in this tutorial, but I still get a blank page when I input myURL/amp/ on my browser. Can you please help me out?

  32. Dave Bergschneider says

    The correct way to implement AMP is to do it as apart of your theme. The AMP plugin is merely a band-aid to bridge the gap from an existing theme. AMP is so new that there’s very little examples of how to include it as your WordPress theme. I’d be interested in knowing if anyone has taken it this far yet. I’ve done some AMP development already and I find it to not be all the difficult.

    • Adjie Purbojati says

      I have trying AMP for a 5 months. And the result is amp not recommend for my site. Because amp make appearance broken. And yes, amp WordPress doesn’t not give features that we need

  33. Vikram Sarin says

    How do we make it work for woocommerce? AMP plugin throws up very basic layout of a woocommerce site with the menu also losing all its style and formatting.

  34. Chris says

    Does the AMP plugin still only work on Posts and not Pages? Has anyone found a solution that works on entire sites? Thx!

  35. Shaeel Iqbal says

    Hey! Thanks for this AMP WordPress. I have a question in my mid. Can i have to edit my old posts URL and add /amp at the end?

Deixe uma resposta

Obrigado por deixar um comentário. Lembre-se de que todos os comentários são moderados de acordo com nossos política de comentários, e seu endereço de e-mail NÃO será publicado. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.