Hello,
I see my AMP code is valid on every tool I check, but when the AMP URL of the page is checked then the error is there.
I am using a static site, not WordPress.
Here the URL as reference: speed.cy/amp
I hope you can help.
Thanks in advance
Hello,
I see my AMP code is valid on every tool I check, but when the AMP URL of the page is checked then the error is there.
I am using a static site, not WordPress.
Here the URL as reference: speed.cy/amp
I hope you can help.
Thanks in advance
May I ask how did you checked?
https://speed.cy/amp/#development=1
in Google Chrome and checking Developer console?https://validator.ampproject.org/#url=https%3A%2F%2Fspeed.cy%2Famp%2F
?https://search.google.com/test/amp
?Therefore, have you got the AMP Real URL
option enabled at Cloudflare dashboard → Speed → Optimization → Section “Mobile” → AMP Real URL?
I am afraid if there are any errors, the developer should debug that and Cloudflare has nothing to do with it as far as I concern.
Otherwise, if the mentioned option is not being enabled at Cloudflare, you could have some further errors regarding HTTP Signed Exchanges, etc.
Hello, thanks for your answer,
yes, it was all about Cloudflare.
I fixed it today by disabling the Rocket Loader.
I don’t use the option AMP Real URL.
If so, another way is to keep the the Rocket Loader
option in general enabled for your domain, but create and use a Cloudflare Page Rule
for yourdomain.com/amp/*
, meaning any /amp/
URL will not have Rocket Loader
script loaded
Wow, this is actually great!
Because I always use Rocket Loader, and you know, losing that hurts the overall loading speed.
Thanks for your help! I am creating the rule right now.
Me too
Awesome! I am also using a Page Rule
with exception for it for my AMP URLs
I am happy to assist you
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.