Title: Error to Validate AMP posts
Last modified: October 18, 2016

---

# Error to Validate AMP posts

 *  Resolved [RebellionNT1](https://wordpress.org/support/users/rebellionnt1/)
 * (@rebellionnt1)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-to-validate-amp-posts/)
 * Hi guys,
 * I have a problem, to amp validate all my news, I have a error in all of them 
   which are the following:
 * 1- In this line the errror shows is the next “The tag ‘script’ is disallowed 
   except in specific forms.
    ”<script src=”https://mysite.es/wp-content/uploads/
   abovethefold/proxy/55/f3/77/10/6a/55f377106a92f507b7eab36818760610.js async></
   script>” How Can I fix that?
 * Best Regards
    -  This topic was modified 9 years, 7 months ago by [RebellionNT1](https://wordpress.org/support/users/rebellionnt1/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [optimalisatie](https://wordpress.org/support/users/optimalisatie/)
 * (@optimalisatie)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-to-validate-amp-posts/#post-8325429)
 * Hi RebellionNT1,
 * The error is not related to the proxy cache file / the plugin. If you would turn
   off the `External Script Proxy` you will see the url to the script that is inserted.
   The script proxy simply replaces the url and nothing else.
 * The error is discussed in other topics in the WordPress support forums. Perhaps
   it offers a clue:
 * [https://wordpress.org/search/The+tag+%27script%27+is+disallowed+except+in+specific+forms?forums=1](https://wordpress.org/search/The+tag+%27script%27+is+disallowed+except+in+specific+forms?forums=1)
 * _[ [Signature moderated](http://codex.wordpress.org/Forum_Welcome#Signatures)]_
    -  This reply was modified 9 years, 4 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Thread Starter [RebellionNT1](https://wordpress.org/support/users/rebellionnt1/)
 * (@rebellionnt1)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-to-validate-amp-posts/#post-8327112)
 * Hi PageSpeed.pro,
 * I’ve been trying things, if I turn off the plugin Above The Fold Optimization,
   the amp error disappears.
 * I see that the problem is that when validating the pages of AMP the following
   line shown and I think this is where the problem by disabling the plugin because
   this line is not shown:
 * <script src=”[https://mysite.es/wp-content/uploads/abovethefold/proxy/55/f3/77/10/6a/55f377106a92f507b7eab36818760610.js&#8221](https://mysite.es/wp-content/uploads/abovethefold/proxy/55/f3/77/10/6a/55f377106a92f507b7eab36818760610.js&#8221);
   async></script>
 * In the plugin Above The Fold Optimization I am using the option Proxy External
   Styles, this enabled, this option I use it to solve the problem with the ga.js
   file google and this option is important for me because it makes me have more
   punctuation in google page speed.
 * Is there any way to make the script will not load in AMP pages?
    How should you
   configure the option Proxy External Styles?
 * Best Regards.
 *  Plugin Author [optimalisatie](https://wordpress.org/support/users/optimalisatie/)
 * (@optimalisatie)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-to-validate-amp-posts/#post-8329736)
 * Hi RebellionNT1,
 * I will investigate the issue for the release of the next version that will contain
   more Javascript Optimization features and improved performance.
 * _[ [Signature moderated](http://codex.wordpress.org/Forum_Welcome#Signatures)]_
    -  This reply was modified 9 years, 4 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Plugin Author [optimalisatie](https://wordpress.org/support/users/optimalisatie/)
 * (@optimalisatie)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-to-validate-amp-posts/#post-8350092)
 * Hi RebellionNT1,
 * The plugin has been disabled for AMP pages in `v2.5.4`.
 * _[ [Signature moderated](http://codex.wordpress.org/Forum_Welcome#Signatures)]_
    -  This reply was modified 9 years, 7 months ago by [optimalisatie](https://wordpress.org/support/users/optimalisatie/).
    -  This reply was modified 9 years, 4 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  Thread Starter [RebellionNT1](https://wordpress.org/support/users/rebellionnt1/)
 * (@rebellionnt1)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-to-validate-amp-posts/#post-8351621)
 * Hi PageSpeed.pro;
 * Thank you for the upgrade plugin, the AMP page validate correctly with this update,
   Brilliant Job.
 * Best Regards
 *  [cwfaraday](https://wordpress.org/support/users/cwfaraday/)
 * (@cwfaraday)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-to-validate-amp-posts/#post-8463662)
 * Version 2.6.15 seems to be processing AMP pages.
 *  Plugin Author [optimalisatie](https://wordpress.org/support/users/optimalisatie/)
 * (@optimalisatie)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-to-validate-amp-posts/#post-8483727)
 * Hi cwfaraday,
 * The plugin checks for the method [is_amp_endpoint()](https://github.com/Automattic/amp-wp/blob/master/includes/amp-helper-functions.php)
   and should be disabled for AMP pages in AMP-WP.
 * Can you confirm that the plugin is active on AMP pages?
 * _[ [Signature moderated](http://codex.wordpress.org/Forum_Welcome#Signatures)]_
    -  This reply was modified 9 years, 4 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Error to Validate AMP posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/above-the-fold-optimization_fcfbf6.
   svg)
 * [Page Speed Optimization](https://wordpress.org/plugins/above-the-fold-optimization/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/above-the-fold-optimization/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/above-the-fold-optimization/)
 * [Active Topics](https://wordpress.org/support/plugin/above-the-fold-optimization/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/above-the-fold-optimization/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/above-the-fold-optimization/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [optimalisatie](https://wordpress.org/support/users/optimalisatie/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/error-to-validate-amp-posts/#post-8350092)
 * Status: resolved