Netlify and AMP pages - Google Bot

Netlify is serving different content to google bot, which is breaking my amp pages. To confirm the discovery in the the github issue below I deployed my site to aws amplify and you can see it passes search console amp validation. I would like to know why netlify is serving different content to google bot and second what can we do to fix this issue. Thank you.

Sample Netlify Page failing
https://search.google.com/test/amp?id=uNOQcX98g3XRSwvXxj6rEA

Same page on AWS passing search Console
https://search.google.com/test/amp?id=bp48biP5At7L-_njS9G2OQ

Hi, @rotexhawk, and welcome to our Netlify community site. :slight_smile:

This site has Netlify’s prerendering service enabled here:

https://app.netlify.com/sites/michaelharwin/settings/deploys#prerendering

If this isn’t what you want, disable this service and trigger a new deploy to stop it from being used. When prerendering is enabled, we run the site javascript in a headless browser and send the rendered page to the system making the HTTP request.

There is more information about our prerendering here:

To summarize, we are showing prerendered content to Google bots because that is a feature that has been enabled for this site (as it is not a default setting).

If there are other questions about this, please let us know.

1 Like