Remove Query Strings From Static Resources



This plugin will remove query strings from static resources like CSS & JS files inside the HTML <head> element to improve your speed scores in services like Pingdom, GTmetrix, PageSpeed and YSlow.

Resources with a “?” or “&” in the URL are not cached by some proxy caching servers, and moving the query string and encode the parameters into the URL will increase your WordPress site performance significant.


This plugin will ONLY remove query strings from resources located inside the HTML <head> element, any query strings located inside the HTML “body” element shall and will not be removed by this plugin.

Looking For Support?

The plugin author does not provide active support on the forum. Support and requests for custom configurations to the plugin are available at Speed Up My Website.

Looking For WordPress Speed Optimization?

Want to speed up your WordPress site, to get better rankings in Google, improve your conversions and bring more visitors to your website? Then check out Speed Up My Website.

Reference tests using the latest WordPress version

Reference test from: Pingdom

Reference test from: GTMetrix

Reference site: Remove Query Strings From Static Resources

Do you like this plugin?

Please don’t hesitate to leave your feedback here.


Read all 66 reviews



  • Tested for WordPress 4.7.2
  • Added disclaimer to the plugin description
  • Added reference tests for the plugin
  • New contributor and author of the plugin


  • Tested for WordPress 4.6.1


  • Remove query strings from static resources disabled in admin section

  • Reverted back to the old remove query strings function, since the new one was too effective


  • Fix for Google Fonts in the dashboard


  • Improved to remove even more query strings

  • Tested for WP 4.0


  • First release

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code