Title: Invalid Amp Script
Last modified: January 1, 2021

---

# Invalid Amp Script

 *  Resolved [deborah86](https://wordpress.org/support/users/deborah86/)
 * (@deborah86)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/)
 * I am using the official AMP plugin in Standard Mode. I have the AMP option enabled
   in the settings of Litespeed Cache. I am still getting this validation error:
 * > Invalid script: instant_click.min.js
 * The AMP plugin has disabled the code from running on the webpage. How do I fix
   this issue.
 * Here is my report number: RHZRRMDF
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finvalid-amp-script%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/#post-13856392)
 * Hi,
 * Please try this, go to Page optimization -> tuning setting -> URI exclude , add**
   amp** into that field , save and purge all
 * Best regards,
 *  Thread Starter [deborah86](https://wordpress.org/support/users/deborah86/)
 * (@deborah86)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/#post-13867257)
 * If I do that, won’t it disable the Litespeed optimizations for the entire website?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/#post-13867259)
 * Hi,
 * no , that should only disable opitmization to AMP page
 * Best regards,
 *  Thread Starter [deborah86](https://wordpress.org/support/users/deborah86/)
 * (@deborah86)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/#post-13867318)
 * All my front-end pages are amp pages. Is the plugin compatible with amp?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/#post-13867331)
 * Hi,
 * yes, LSCWP should bypass AMP pages
 * Best regards,
 *  Thread Starter [deborah86](https://wordpress.org/support/users/deborah86/)
 * (@deborah86)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/#post-13867369)
 * If I can’t use LSCWP on my front-end pages, why do I need to keep it installed?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/#post-13867372)
 * Hi,
 * you can still use it for desktop and caching , only page optimization will be
   bypassed on AMP
 * Best regards,
 *  Thread Starter [deborah86](https://wordpress.org/support/users/deborah86/)
 * (@deborah86)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/#post-13867427)
 * I am already having issues with Lighthouse score of the pages: [https://wordpress.org/support/topic/plugin-increases-server-load-time/](https://wordpress.org/support/topic/plugin-increases-server-load-time/)
 * My page speed score is really low. Is it better to keep the AMP plugin or the
   Litespeed plugin to increase the page speed score?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/#post-13867446)
 * Hi,
 * It is up to you to try out on both cases
 * but AMP should be simpler and easier solution
 * Best regards,

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

The topic ‘Invalid Amp Script’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * [amp validation error](https://wordpress.org/support/topic-tag/amp-validation-error/)

 * 9 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/invalid-amp-script/#post-13867446)
 * Status: resolved