AMP Error when check live URL but code is valid

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:

I hope you can help.

Thanks in advance

May I ask how did you checked?

  1. By openning in Google Chrome and checking Developer console?
  2. Using the tool ?
  3. Using the tool ?

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.

1 Like

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*, meaning any /amp/ URL will not have Rocket Loader script loaded :wink:

1 Like

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.

1 Like

Me too :wink:

Awesome! I am also using a Page Rule with exception for it for my AMP URLs :wink:

I am happy to assist you :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.