Title: Error on Exclude JS
Last modified: May 25, 2023

---

# Error on Exclude JS

 *  Resolved [henriquemartins](https://wordpress.org/support/users/henriquemartins/)
 * (@henriquemartins)
 * [3 years ago](https://wordpress.org/support/topic/error-on-exclude-js/)
 * Hi!
   I’m getting this error message on trying to exclude JS files from minification
   and grouping: “One (or more) URL is invalid. Please check and correct the entry.”
   The paths i’m using seem correct, though, it’s all there, and were informed by
   the theme support.I’ve attached a print here::[https://drive.google.com/file/d/1ExdM8qEm5gxbXLp0v2cmE4rd_Z8Tqjwq/view?usp=sharing](https://drive.google.com/file/d/1ExdM8qEm5gxbXLp0v2cmE4rd_Z8Tqjwq/view?usp=sharing)
   Would you please tell me if i’m missing something here?
    -  This topic was modified 3 years ago by [henriquemartins](https://wordpress.org/support/users/henriquemartins/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-on-exclude-js%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [adeelkhan](https://wordpress.org/support/users/adeelkhan/)
 * (@adeelkhan)
 * [3 years ago](https://wordpress.org/support/topic/error-on-exclude-js/#post-16770945)
 * You may exclude JS files/folder at the following manner
 * **Exclude JS on the basis of the folder**
   [https://demo/wp-content/plugins/some-plugin/assets/js/demo(.*)](https://demo/wp-content/plugins/some-plugin/assets/js/demo(.*))
 * **Exclude JS on the basis of the file name**
   [https://demo/wp-content/plugins/some-plugin/assets/js/demo_1/js_random_someplugin_(.*)](https://demo/wp-content/plugins/some-plugin/assets/js/demo_1/js_random_someplugin_(.*))
 * **At your desire path you may handle it**
 * (.*)/wp-content/themes/uncode/library/js/init.js
 *  Thread Starter [henriquemartins](https://wordpress.org/support/users/henriquemartins/)
 * (@henriquemartins)
 * [3 years ago](https://wordpress.org/support/topic/error-on-exclude-js/#post-16771540)
 * Ok, thank you! 🙂

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

The topic ‘Error on Exclude JS’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [henriquemartins](https://wordpress.org/support/users/henriquemartins/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/error-on-exclude-js/#post-16771540)
 * Status: resolved