Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
WP Remove Query Strings From Static Resources icon

WP Remove Query Strings From Static Resources

v2.4
by Rinku Y · 5.0 (5 reviews)

It will remove query strings from static resources like CSS and JS files.

3K+ active installs Updated Jul 11, 2026 Tested to 7.0.9 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card

About WP Remove Query Strings From Static Resources

This tool removes query strings from static resources like JavaScript and CSS files, improving the speed and performance of your WordPress website. Removing query strings also helps with search engine optimization and can improve your website's ranking in search results.

Screenshots

WP Remove Query Strings From Static Resources screenshot

Changelog

2.4

  • Added: Strict file extension checking to ensure only .css and .js files are processed, protecting dynamic PHP scripts.
  • Added: Safely ignores external resources to prevent breaking third-party APIs like Google Maps.
  • Improved: Internal code structure and reliability.

2.3

  • Plugin check issues fixed
  • Improved code

2.2

  • Fixed: Replaced unsafe strtok() with explode() to prevent conflicts with other plugins and WordPress core loops.

2.0

  • Improved: Removed unnecessary class property, filter callback now uses local variable
  • Improved: Strip all query string parameters (not just ?ver and &ver)
  • Improved: Plugin initialised via plugins_loaded hook for correct WP load order
  • Added: Requires PHP header (7.4)
  • Updated: Requires at least bumped to 5.0
  • Updated: Tested up to 7.0
  • Fixed: Typos and grammar in readme
  • Updated: Readme rewritten for better clarity and SEO

1.8

  • Remove additional class

1.7

  • Added additional class

1.6

  • Tested for WP 6.6

1.5

  • Tested for WP 6.3

1.4

  • Compatibility WP 6.0

1.3

  • 23 Feb, 2019
  • Text improved
  • Increase Version

1.2

  • 3 July, 2017
  • Code improved

1.1

  • 3 July, 2017
  • Compatibility issue

1.0

  • 29 June, 2017
  • First Release

Try other plugins