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

Cómo desactivar correctamente Google AMP en WordPress

Muchos blogs y sitios web que se subieron al carro de Google AMP lo están desactivando ahora por diferentes motivos. Esto se debe a que AMP elimina diferentes elementos de tu sitio web para mejorar la velocidad de carga.

En nuestra experiencia probando páginas AMP, hemos advertido un menor número de conversiones, visitas a la página y participación general. Además, la última versión de Google Analytics no es compatible con Google AMP. Como resultado, no verás ninguna página AMP en WPBeginner.

En este artículo, le mostraremos cómo desactivar correctamente Google AMP en WordPress.

How to disable AMP in WordPress

Por qué deberías desactivar Google AMP en WordPress

Accelerated Mobile Pages (AMP) es una iniciativa de código abierto para hacer la web más rápida para los usuarios móviles y mejorar la experiencia de usuario.

Lo hace sirviendo páginas con un mínimo de HTML y JavaScript. Esto permite que el contenido se aloje en la caché de Google AMP. Google puede entonces servir esta versión en caché a los usuarios de forma instantánea cuando hacen clic en tu enlace en los resultados de búsqueda.

Sin embargo, si ha optado por establecer Google AMP en WordPress, es posible que sienta que ha tomado la decisión equivocada.

No eres el único. Muchos blogueros, influencers y publicaciones online han dejado de usar AMP en sus sitios web de WordPress.

En primer lugar, vamos a repasar por qué puede considerar desactivar AMP en su sitio web de WordPress, y luego le guiaremos a través del proceso.

Google Analytics 4 no es compatible con AMP

Google Analytics 4 o GA4 es la última versión de Google Analytics que realiza el seguimiento de su sitio web y aplicaciones móviles en la misma cuenta. Aporta muchos cambios, como nuevos métodos de seguimiento, características de los informes, métricas e informes.

Entre estos cambios se encuentra que GA4 no es compatible con AMP de forma oficial por el momento, y no se ha confirmado si funcionará en el futuro. Uno de los motivos es que realiza un seguimiento de los visitantes de tu sitio web y de tu aplicación en la misma propiedad.

Sin embargo, Google ha dicho que solo podrás acceder a datos antiguos en la propiedad de Universal Analytics hasta el 1 de julio de 2024. Esto significa que podrás seguir accediendo a los informes de Universal Analytics para ver los datos anteriores, pero aún no podrás realizar su seguimiento en la versión más reciente.

Caída drástica de las tasas de conversión

Google AMP establece muchas restricciones en HTML/JavaScript. Esto significa que muchos elementos interactivos de tu sitio web de WordPress faltan con AMP, como los formularios de suscripción y los mensajes / ventanas emergentes de salida.

Como resultado, los propietarios de sitios no pueden animar a los usuarios a suscribirse, rellenar formularios de contacto o comprar cosas.

Menor número de páginas vistas por usuarios móviles

AMP no muestra las barras laterales de tu sitio web ni otras características de descubrimiento de contenido. Esto provoca un descenso significativo de las páginas vistas por los usuarios móviles.

De hecho, algunos expertos en experiencia de usuario sugieren que el botón de cierre en la parte superior en realidad anima a los usuarios a volver a la búsqueda de Google después de leer su artículo en lugar de navegar por su sitio web.

Close button on amp pages

Menor participación de los usuarios

Muchos sitios web prosperan gracias a las interacciones de los usuarios, como los widgets click-to-tweet, las valoraciones / puntuaciones de los usuarios, los comentarios, etc. Google AMP hace que sea bastante difícil para los propietarios de sitios web mantener la participación de los usuarios e interactuar con su contenido.

¿Debería desactivar Google AMP?

La respuesta a esta pregunta depende de su sitio web. Si los usuarios móviles constituyen la mayor parte de tu audiencia, puede que te interese utilizar AMP.

Por otro lado, si has probado Google AMP y ha afectado negativamente a tus tasas de conversión, entonces probablemente deberías desactivar Google AMP en tu sitio web.

Contrariamente a la creencia popular, Google no penaliza a los sitios web por no utilizar AMP. Aún puedes mejorar la velocidad y el rendimiento de tu sitio web en dispositivos móviles para competir por una audiencia de búsqueda móvil.

Con todo esto en mente, veamos cómo puedes desactivar AMP en tu sitio web WordPress.

Desactivar plugins de Google AMP en WordPress

No todo el mundo utiliza los mismos plugins de WordPress para añadir soporte AMP a sus sitios web. Sin embargo, los ajustes básicos siguen siendo los mismos independientemente del plugin que utilices.

Lo primero que tienes que hacer es desactivar cualquier plugin de AMP que tengas instalado.

Simplemente visite la página Plugins ” Plugins Instalados desde su escritorio de WordPress y haga clic en ‘Desactivar’ debajo del nombre del plugin AMP.

Deactivate the amp plugin

Basta con desactivar el plugin para desactivar el soporte de AMP en tu sitio web. Sin embargo, hay algunos pasos más a seguir para asegurarse de que su sitio está libre de AMP.

Establecer redireccionamientos para páginas AMP

Al desactivar el plugin de AMP se eliminará la versión AMP de tus artículos del sitio web. Sin embargo, eso solo no es suficiente, especialmente si tienes AMP activado durante más de una semana.

Es muy probable que Google ya tenga indexadas esas páginas y siga mostrándolas en los resultados de búsqueda. Si un usuario hace clic en una de ellas y usted la ha quitado de su sitio, se encontrará con una página 404, ya que ahora falta ese contenido.

Para corregir este problema, debe redirigir a los usuarios que llegan a las páginas AMP a las páginas normales que no son AMP.

Te mostraremos dos métodos diferentes para establecer redirecciones para Google AMP, primero usando un plugin y luego usando código. Puedes elegir el que más te convenga.

Método 1: Utilizar un plugin de redireccionamiento

La forma más sencilla de establecer redirecciones en WordPress es utilizando el plugin All in One SEO (AIOSEO). Es el mejor plugin SEO para WordPress que ofrece una potente gestión de redirecciones.

Tenga en cuenta que necesitará la licencia AIOSEO Pro porque incluye el gestor de redirecciones.

En primer lugar, deberá instalar y activar el plugin All in One SEO (AIOSEO). Para más detalles, consulta nuestra guía paso a paso sobre cómo instalar un plugin de WordPress.

Una vez activado, puede ir a All in One SEO ” Redirecciones desde el escritorio de WordPress y hacer clic en el botón ‘Activar redirecciones’.

Activate redirects addon

Esto le ayudará a instalar la extensión AIOSEO Redirection Manager que gestiona esta característica. Una vez activado, accederá a la pestaña “Redirecciones”. Aquí puede introducir las URL de origen y destino para establecer la redirección.

En primer lugar, deberá hacer clic en el icono “Engranaje” del campo URL de origen y, a continuación, activar la casilla de verificación “Regex”.

Enable regex option in redirection manager

A continuación, puede añadir el siguiente código en el campo Source URL:

^/(.*)\/amp

En el campo URL de destino, debe añadir la URL de su sitio web con el siguiente formato:

https://example.com/$1

No olvide sustituir “ejemplo.com” por su propio nombre de dominio.

Enter redirection details

A continuación, puede mantener el ‘Tipo de redirección’ como 301 Movido permanentemente. De esta forma, sus usuarios serán redirigidos permanentemente a las páginas no AMP.

Por último, haga clic en el botón “Añadir redirección” para guardar los cambios.

Ahora puedes visitar la URL de una antigua página AMP de tu sitio web para comprobar si la redirección funciona correctamente.

AIOSEO también le ayuda a realizar un seguimiento de los enlaces rotos de su sitio web. Puedes identificar rápidamente las páginas AMP que dan lugar a errores 404 y redirigirlas. Para obtener más información, consulta nuestra guía sobre cómo realizar un seguimiento de las páginas 404 y redirigirlas en WordPress.

Método 2: Establecer manualmente las redirecciones en .htaccess

Si no desea utilizar un plugin para establecer las redirecciones, puede configurarlas utilizando el archivo .htaccess de su cuenta de alojamiento de WordPress.

En primer lugar, deberá conectarse a su sitio web mediante un cliente FTP o el gestor de archivos de cPanel. Para más detalles, consulte nuestra guía sobre cómo utilizar FTP para subir archivos en WordPress.

Una vez conectado, deberá localizar el archivo .htaccess en la carpeta raíz de su sitio web.

Open .htaccess file

A continuación, puede editar el archivo en su carpeta raíz.

A continuación, sólo tiene que añadir el siguiente código en la parte inferior de su archivo .htaccess:

// Redirect AMP to non-AMP
RewriteEngine On
RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
RewriteRule ^ %1/ [R=301,L]

No olvide guardar los cambios y volver a subir el archivo a su servidor.

Ahora puedes visitar la URL de la antigua versión AMP de cualquier entrada de tu sitio web para asegurarte de que la redirección funciona correctamente.

Esperamos que este artículo te haya ayudado a desactivar correctamente Google AMP en WordPress. Puede que también quieras ver nuestra guía SEO para WordPress paso a paso para principiantes y los mejores consejos para acelerar WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Descargo: Nuestro contenido está apoyado por los lectores. Esto significa que si hace clic en algunos de nuestros enlaces, podemos ganar una comisión. Vea cómo se financia WPBeginner , por qué es importante, y cómo puede apoyarnos. Aquí está nuestro proceso 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.

El último kit de herramientas de WordPress

Obtenga acceso GRATUITO a nuestro kit de herramientas - una colección de productos y recursos relacionados con WordPress que todo profesional debería tener!

Reader Interactions

122 comentariosDeja una respuesta

  1. Syed Balkhi

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

  3. Ravi Bandakkanavar

    Thanks for the redirection trick. It worked like a rocket :)

    • WPBeginner Support

      Glad our guide could help!

      Administrador

  4. Vyom Manikya

    After following all the steps, now I’m getting this error “Discovered – Currently not Indexed” for my non-amp pages.

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

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

  7. James

    Hey WPbeginner, Great article and helped me so much with my website .

    Thanks

    • WPBeginner Support

      Glad our guide was helpful :)

      Administrador

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

  9. Hicham

    It works, Thanks so much ☺

    • WPBeginner Support

      Glad our guide was helpful :)

      Administrador

  10. Akshay Malhotra

    Thank you so much for this post. As always WP beginner rocks! :)

    • WPBeginner Support

      Glad you found our content helpful :)

      Administrador

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

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

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

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

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

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

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

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

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

  20. Raj Deep

    My site uses ssl and is on https. Should I use https or http in the redirection ?

    • WPBeginner Support

      Use HTTPS

      Administrador

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

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

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

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

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

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

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

  28. Kuldeep Singh

    Worked like a charm.
    Thanks!

    • WPBeginner Support

      Glad our guide was helpful :)

      Administrador

  29. Jason

    Great Guide! Worked like a charm.

    • WPBeginner Support

      Thank you, glad our guide was helpful :)

      Administrador

  30. ahs shaikh

    thank you very much for this blog post…

    • WPBeginner Support

      You’re welcome :)

      Administrador

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

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

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

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

  35. Catherine Thomas

    THANK YOU!!!! Method #1 worked perfectly!!!

    • WPBeginner Support

      Glad our recommendations could help :)

      Administrador

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

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

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

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

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

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

  42. Mario

    It worked for me wpbeginner thanks a lot
    Amp is not advisable use

    • WPBeginner Support

      Glad our article could help :)

      Administrador

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

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

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

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

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

  48. Manh Nguyen

    I do as instructed, how long does my site return to normal ?

    Thanks!

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

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

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

Deja tu comentario

Gracias por elegir dejar un comentario. Tenga en cuenta que todos los comentarios son moderados de acuerdo con nuestros política de comentarios, y su dirección de correo electrónico NO será publicada. Por favor, NO utilice palabras clave en el campo de nombre. Tengamos una conversación personal y significativa.