Title: Query string removla bug?
Last modified: December 13, 2020

---

# Query string removla bug?

 *  [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/query-string-removla-bug/)
 * WP asset cleanup seem to remove query strings form files even if excluded as 
   they are alreayd min.js or min.css files?
 * Will cause issues with version control if wp asset cleanup ingonres to burst 
   them but also remove the query strings.

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

 *  [zad97](https://wordpress.org/support/users/zad97/)
 * (@zad97)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/query-string-removla-bug/#post-13786943)
 * I have the same issue.
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/query-string-removla-bug/#post-13787960)
 * [@zad97](https://wordpress.org/support/users/zad97/) [@zad97](https://wordpress.org/support/users/zad97/)
   there used to be problems with appending /?ver to scripts that had the “ver” 
   parameter set to false (e.g. external ones that didn’t need any query strings
   appended to them, and if they had a query string, it would have returned in an
   error). However, this has been fixed a long time ago.
 * I’m not aware of any query strings being stripped from the files ending in _.
   min.css_ or _.min.js_. I agree that the “ver” should not be removed if it’s not
   encoded in the cached version of the file, which is happening with files that
   are stored in _/wp-content/cache/asset-cleanup/_
 * I’d like more information about it. Are there specific files where you noticed
   this behavior? Or is it happening for any already minified files?
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/query-string-removla-bug/#post-13788590)
 * [@zad97](https://wordpress.org/support/users/zad97/) [@alriksson](https://wordpress.org/support/users/alriksson/)
   I made a few tests using both Lite and Pro versions and I couldn’t recreate this
   issue. I’ve enabled minify CSS/JS and already minified files were kept as they
   are without any query string stripping. If you can make me some print screens,
   that would be great. Perhaps the problem is from a different plugin that you’re
   using. For instance, SG Optimizer has the feature of removing query strings from
   static resources.
 *  Thread Starter [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/query-string-removla-bug/#post-13790692)
 * Using wp rocket which nolonger have this option. And ocne I disable WPACU the
   version control is back.
 * Using [https://github.com/srikat/my-custom-functionality](https://github.com/srikat/my-custom-functionality)
   to enqueue stylesheets and scripts. Please try this and see if there might be
   a conflict there.
 *  Thread Starter [Rookie](https://wordpress.org/support/users/alriksson/)
 * (@alriksson)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/query-string-removla-bug/#post-13835913)
 * [@gabelivan](https://wordpress.org/support/users/gabelivan/) Did you manage to
   test and find the issue?

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

The topic ‘Query string removla bug?’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Rookie](https://wordpress.org/support/users/alriksson/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/query-string-removla-bug/#post-13835913)
 * Status: not resolved