Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey @hoteliertanji

    Thank you so much for using the plugin!

    I have just checked your website, multiple pages actually and all seems to be validated perfectly! Perhaps some minor glitch in the server downtime could have caused it. Give it a week and everything should be back to normal.

    Hope it helps,

    Regards,
    Ahmed

    Thread Starter hoteliertanji

    (@hoteliertanji)

    Dear @ahmedkaludi,

    I have already fixed all issues except this one:The tag ‘amp-ad extension .js script’ is missing or incorrect, but required by ‘amp-ad’. This will soon be an error.

    Check this URL in AMP Validator: www.hospitality-school.com/how-waiters-make-tips/amp
    To fix the error I put this following script:

    <script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>

    Before </head> at amp/templates/single.php

    BUT STILL I AM GETTING ERROR. I AM USING CLOUDFLARE AS WELL. PLEASE ADVISE ME WHAT ELSE I CAN DO.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey @hoteliertanji

    It’s strange that you are getting that error. Here is one quick fix for this problem:

    Add that script to the Header option from Advanced settings: see https://monosnap.com/file/otDU1wRpJANC09yIlDFxzTGO62SP4C

    Regards,
    Ahmed

    Thread Starter hoteliertanji

    (@hoteliertanji)

    Dear @ahmedkaludi,

    MAY ALLAH BLESS YOU, BROTHER. I checked both way by following your guideline the problem is gone but when I delete that from your advanced setting then it shows the error that means your guideline is perfect. You just save my life.

    I am wondering why haven’t you include that script in your plugin by default since it is a pre requisite and it can solve such errors.

    Again thanks and dua from bottom of my heart.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hey @hoteliertanji

    Thank you so much. We are so glad to have you as a user.

    If you like the plugin, then please support us by leaving a feedback at https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/
    Me & My team will really appreciate that! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘166 AMP pages with critical issues’ is closed to new replies.