Title: WP Rocket/Autoptimize &#8211; remove querystrings
Last modified: July 26, 2017

---

# WP Rocket/Autoptimize – remove querystrings

 *  Resolved [Andries Jansen](https://wordpress.org/support/users/jansencws/)
 * (@jansencws)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp-rocketautoptimize-remove-querystrings/)
 * Hello,
 * I use Autoptimize and WP Rocket together, works great. But if I use the option,
   in WP Rocket, to remove querystrings from static files, the javascript files 
   seal.js, js/jquery/jquery.js won’t be excluded from optimalization in Autoptimize.
   The option ‘Remove querystrings’ is important to me for two reasons:
    1. (little)
   better performance 2. a lot of hackingtools use the querystrings to find installed
   plugins and themes, this doesn’t work anymore with this option switched on.
 * Autoptimize: 2.2.2
    WP Rocket: 2.10.6
 * Regards,
    Andries

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp-rocketautoptimize-remove-querystrings/#post-9352569)
 * Morgend Andries;
    with that option wp rocket moves e.g. jquery from `wp-includes/
   js/jquery/jquery.js?ver=1.12.4` to `wp-content/cache/busting/1/wordpress-wp-includes-
   js-jquery-jquery-1.12.4.js`, so you’ll have to adjust AO’s exclusions to match
   those files Andries.
 * Hope this helps,
    frank
 *  Thread Starter [Andries Jansen](https://wordpress.org/support/users/jansencws/)
 * (@jansencws)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp-rocketautoptimize-remove-querystrings/#post-9352612)
 * Hello Frank,
 * You’re right, but then I’ve to check all my sites everytime the jquery version
   changes.
 * Regards
    Andries
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp-rocketautoptimize-remove-querystrings/#post-9352738)
 * well, you could alternatively exclude `/wordpress-wp-includes-js-jquery-jquery`
   🙂
 *  Thread Starter [Andries Jansen](https://wordpress.org/support/users/jansencws/)
 * (@jansencws)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp-rocketautoptimize-remove-querystrings/#post-9353395)
 * Hello Frank,
 * Thanks, it works! Pagespeed Score: 98%, no javascript errors and querystrings
   removed.
 * Regards,
    Andries
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/wp-rocketautoptimize-remove-querystrings/#post-9353405)
 * graag gedaan Andries 🙂

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

The topic ‘WP Rocket/Autoptimize – remove querystrings’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/wp-rocketautoptimize-remove-querystrings/#post-9353405)
 * Status: resolved