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

Come impostare correttamente Google AMP sul vostro sito WordPress

Nota editoriale: guadagniamo una commissione dai link dei partner su WPBeginner. Le commissioni non influenzano le opinioni o le valutazioni dei nostri redattori. Per saperne di più su Processo editoriale.

Volete impostare Google AMP sul vostro sito WordPress?

AMP è l’acronimo di Accelerated Mobile Pages (pagine mobili accelerate) ed è un modo per rendere più veloce il caricamento del sito web sui dispositivi mobili. I siti web a caricamento rapido offrono una migliore esperienza all’utente e possono migliorare il traffico.

In questo articolo vi mostreremo come impostare Google AMP in WordPress.

Google AMP for WordPress

Che cos’è Google AMP?

Google AMP è l’acronimo di Accelerated Mobile Pages. È un’iniziativa open-source sostenuta da aziende tecnologiche come Google e Twitter. L’obiettivo del progetto è quello di rendere più veloce il caricamento dei contenuti web per gli utenti mobili.

Per molti utenti mobili, la lettura sul web è spesso lenta. La maggior parte delle pagine ricche di contenuti richiede diversi secondi per essere caricata, nonostante gli sforzi compiuti dai proprietari dei siti per velocizzarli.

Accelerated Mobile Pages (AMP) in search and browser view

Google AMP utilizza un HTML minimo e un Javascript limitato. Ciò consente al contenuto di essere ospitato nella cache di Google AMP. Google può quindi servire questa versione memorizzata nella cache agli utenti quando fanno clic sul vostro link nei risultati di ricerca.

È molto simile agli Instant Articles di Facebook. Tuttavia, gli Instant Articles sono limitati solo alla piattaforma di Facebook, più precisamente alla sua app mobile.

Google AMP è indipendente dalla piattaforma e può essere utilizzato da qualsiasi app, browser o visualizzatore web. Attualmente è utilizzato da Google, Twitter, LinkedIn, Reddit e altri.

Pro e contro di Google AMP (Accelerated Mobile Pages)

Gli esperti SEO sostengono che Google AMP aiuterà il vostro sito web WordPress a posizionarsi più in alto su Google e migliorerà l’esperienza utente per gli utenti mobili con connessioni internet lente. Tuttavia, ci sono diverse sfide per i proprietari di siti web, i blogger e gli operatori di marketing.

AMP utilizza un set limitato di HTML, JavaScript e CSS. Ciò significa che non è possibile aggiungere alcuni widget e funzionalità al sito AMP mobile. Ciò limita la possibilità di aggiungere moduli di optin per l’e-mail, pulsanti “Mi piace” di Facebook e altri script dinamici.

Sebbene Google AMP supporti Google Analytics, inizialmente non supportava molte altre piattaforme di analisi, ma la situazione è migliorata. Anche le opzioni pubblicitarie sono limitate a poche piattaforme selezionate.

Nonostante le sue limitazioni, Google sta spingendo le pagine AMP dando loro una spinta nella ricerca mobile. Se una parte significativa del vostro traffico proviene da ricerche su dispositivi mobili, potreste trarre vantaggio dall’aggiunta del supporto AMP per migliorare e mantenere la vostra SEO.

Tuttavia, ci sono state alcune lamentele su Google AMP da parte dei blogger.

In primo luogo, Alex Kras sostiene che si può potenzialmente perdere traffico mobile se si attiva Google AMP. Leggete attentamente l’articolo perché si tratta di un problema enorme. E nonostante quanto affermato dal responsabile tecnico di Google per il progetto AMP, a nostro avviso non esistono soluzioni valide per risolvere il problema.

In secondo luogo, Terrence Eden sottolinea la difficoltà di tornare indietro da Google AMP se si dovesse cambiare idea in futuro. Non crediamo che si tratti di un problema grave, perché è possibile effettuare un reindirizzamento 301, come molti hanno sottolineato nella sezione commenti dei suoi post. Tuttavia, è un aspetto su cui riflettere.

Per i motivi di cui sopra, non passeremo WPBeginner a Google AMP.

Tuttavia, poiché molti dei nostri lettori ci hanno chiesto come impostare Google AMP in WordPress, abbiamo creato una procedura passo-passo su come impostare le Accelerated Mobile Pages in WordPress.

Video tutorial

Subscribe to WPBeginner

Se il video non vi piace o avete bisogno di ulteriori istruzioni, continuate a leggere.

Impostazione delle pagine mobili accelerate o AMP in WordPress

La prima cosa da fare è installare e attivare il plugin AMP. Per maggiori dettagli, consultate la nostra guida passo passo su come installare un plugin di WordPress.

Dopo l’attivazione, è possibile accedere alla pagina Aspetto ” AMP per vedere l’aspetto del sito sui dispositivi mobili utilizzando AMP.

Settings page for WordPress AMP plugin

In questa pagina è possibile modificare lo sfondo dell’intestazione e il colore del testo. Il colore dello sfondo dell’intestazione scelto sarà utilizzato anche per i link.

Il plugin utilizzerà anche l’icona o il logo del sito, se il tema lo supporta. Per istruzioni dettagliate, consultare la nostra guida su come aggiungere una favicon o un’icona del sito in WordPress.

Non dimenticate di fare clic sul pulsante “Salva” per memorizzare le modifiche.

Ora è possibile personalizzare le pagine AMP utilizzando i plugin. Ad esempio, è possibile aggiungere alle pagine AMP post correlati, widget per il piè di pagina e persino icone dei social media.

Tuttavia, è necessario convalidare le pagine AMP dopo aver installato qualsiasi plugin aggiuntivo.

Ora potete visitare qualsiasi post del vostro sito web e aggiungere /amp/ alla fine dell’URL in questo modo:

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

Questo mostrerà una versione AMP ridotta dello stesso post.

AMP mobile preview

Se si visualizza il codice sorgente del post originale, si trova questa riga nell’HTML:

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

Questa riga indica ai motori di ricerca e alle altre applicazioni e servizi che consumano AMP dove cercare la versione AMP della pagina.

Risoluzione dei problemi

Se viene visualizzato un errore 404 quando si cerca di visualizzare la versione dell’amplificatore, ecco cosa si deve fare.

Visitate la pagina Impostazioni ” Permalinks nell’amministrazione di WordPress e fate clic sul pulsante “Salva modifiche”.

Ricordate, non modificate nulla qui. È sufficiente premere il pulsante “Salva modifiche”. Questo aggiornerà la struttura dei permalink del vostro sito web.

Visualizzazione delle pagine mobili accelerate in Google Search Console

Volete sapere come si comportano le vostre Pagine mobili accelerate nella ricerca di Google? Potete verificarlo facilmente utilizzando Google Search Console.

Accedere alla dashboard di Google Search Console e fare clic su Aspetto della ricerca ” Pagine mobili accelerate“.

Accelerated mobile pages in Google Search Console

Non preoccupatevi se non vedete subito i risultati AMP. Potrebbe essere necessario un po’ di tempo prima che Google indicizzi le pagine mobili accelerate e poi mostri i dati in Search Console.

Ottenere analisi accurate sulle pagine AMP

Uno dei problemi principali di AMP è che può alterare i dati di Google Analytics. I visitatori delle pagine AMP non vengono tracciati con precisione e possono addirittura essere conteggiati due volte.

Per ottenere le analisi più accurate, consigliamo di utilizzare MonsterInsights. È il miglior plugin di Google Analytics per WordPress.

L’addon MonsterInsights AMP correggerà automaticamente il tracciamento in modo da ottenere le statistiche reali sui visitatori.

Speriamo che questo articolo vi abbia aiutato a capire come impostare le pagine mobili accelerate (AMP) in WordPress. Potreste anche voler consultare la nostra guida su come velocizzare il vostro sito web o le nostre scelte di esperti sui migliori servizi di email marketing per far crescere il vostro business.

Se questo articolo vi è piaciuto, iscrivetevi al nostro canale YouTube per le esercitazioni video su WordPress. Potete trovarci anche su Twitter e Facebook.

Divulgazione: I nostri contenuti sono sostenuti dai lettori. Ciò significa che se cliccate su alcuni dei nostri link, potremmo guadagnare una commissione. Vedi come WPBeginner è finanziato , perché è importante e come puoi sostenerci. Ecco il nostro processo editoriale .

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.

Il kit di strumenti WordPress definitivo

Ottenete l'accesso gratuito al nostro kit di strumenti - una raccolta di prodotti e risorse relative a WordPress che ogni professionista dovrebbe avere!

Reader Interactions

87 commentiLascia una risposta

  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.

      Admin

  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.

      Admin

  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

      Admin

  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 :)

      Admin

  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. Akash Gogoi says

    I got frustrated because I was finding not solution before reading your article. Thanks for your help.

  9. firstfly says

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

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

  11. 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 :)

      Admin

  12. 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 :-)

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

      Admin

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

        Admin

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

  16. Eva Rubio says

    This is a fantastic article! The structure and detail are easy to follow and user friendly. Thanks for sharing.

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

  18. 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.”

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

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

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

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

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

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

  25. 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. :(

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

  27. Ryan says

    Yeah I’ve been having the same issue for months. No matter what I enter in the Analytics box, it won’t save.

  28. 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!

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

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

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

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

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

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

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

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

  37. 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!

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

Lascia una risposta

Grazie per aver scelto di lasciare un commento. Tenga presente che tutti i commenti sono moderati in base alle nostre politica dei commenti e il suo indirizzo e-mail NON sarà pubblicato. Si prega di NON utilizzare parole chiave nel campo del nome. Avremo una conversazione personale e significativa.