WP Remove Query Strings From Static Resources
Boost your WordPress site speed by removing query strings from CSS and JS files — improve your GTmetrix, PageSpeed, and Pingdom scores instantly.
Use with caution
WP Remove Query Strings From St… works, but test it on a staging site before relying on it in 2026. It runs on 3K+ sites, is rated 5/5 and was last updated 5 months ago, and scores 57/100 on our health check.
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where WP Remove Query Strings Fro… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| Page Speed | >100 |
| performance | >100 |
| query strings | #1 |
| remove query strings | #1 |
| static resources | #2 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 5 reviews
About WP Remove Query Strings From Static Res…
From the official readme · v2.4Description
WP Remove Query Strings From Static Resources is a lightweight, zero-configuration WordPress plugin that automatically removes query strings (like ?ver=6.6) from your local CSS and JavaScript file URLs. It intelligently ignores external resources (such as third-party APIs like Google Maps) to prevent breaking their functionality, and features strict extension checking to protect dynamic scripts.
By default, WordPress appends version parameters to static resource URLs — for example:
https://example.com/style.css?ver=6.6
While this helps with cache-busting during development, it prevents proxy servers and CDN networks from properly caching these files, which hurts your website’s performance score.
This plugin strips those query strings, turning URLs like:
https://example.com/style.css?ver=6.6
into clean, cacheable URLs like:
https://example.com/style.css
Why Does This Matter?
Speed is a critical ranking factor for search engines. Tools like Google PageSpeed Insights, GTmetrix, Pingdom, and YSlow flag query strings on static resources as a performance issue. Removing them can:
- ✅ Improve your website performance score
- ✅ Enable better proxy and CDN caching
- ✅ Reduce page load time for returning visitors
- ✅ Contribute to better SEO rankings
- ✅ Improve overall user experience
How It Works
Once activated, the plugin hooks into WordPress’s built-in script_loader_src and style_loader_src filters and silently removes all query string parameters from your local CSS and JS URLs — on the frontend only. The WordPress admin dashboard is never affected.
No setup required. No settings page. Just install, activate, and you’re done.
Features
- Removes all query string parameters from local CSS and JS URLs (not just
?ver) - Safely ignores external resources to avoid breaking third-party scripts and APIs
- Strictly targets files ending in
.cssand.jsto protect dynamic PHP scripts enqueued as styles/scripts - Works automatically on activation — no configuration needed
- Frontend-only — does not affect the WordPress admin area
- Extremely lightweight — zero impact on page generation time
- Compatible with all themes and plugins
Learn more about Query Strings on Wikipedia
Upgrade to Pro
Get even faster load times and more advanced features with Pro!
- Advanced Caching & Compression: Browser Caching with Customizable Cache Durations, GZIP Compression, Cache-Control Headers, Keep-Alive, and ETag Removal.
- Code Minification: Minify CSS, JS, and HTML, plus Delay JavaScript for a massive PageSpeed boost.
- Media & Font Optimization: Lazy Load Images & iFrames, and Google Fonts Optimization.
- Database & Site Health: Database Cleanup, DNS Prefetch, Preload Links, Heartbeat Control, and XML-RPC Disable.
- WooCommerce Ready: Built-in WooCommerce Optimization.
- Settings Admin Page: Easy-to-use interface to manage all features.
- Premium Support & Updates: Get fast, dedicated assistance and regular new features.
Installation
There are three ways to install this plugin:
Option 1: Install via WordPress Dashboard (Recommended)
- Go to Dashboard > Plugins > Add New.
- Search for WP Remove Query Strings From Static Resources.
- Click Install Now, then click Activate.
- That’s it — the plugin works immediately, no configuration needed.
Option 2: Upload via WordPress Dashboard
- Download the plugin ZIP file from the WordPress Plugin Repository.
- Go to Dashboard > Plugins > Add New > Upload Plugin.
- Choose the downloaded ZIP file and click Install Now.
- Activate the plugin from the Plugins page.
Option 3: Upload via FTP
- Download and extract the plugin ZIP file.
- Upload the
wp-remove-query-strings-from-static-resourcesfolder to/wp-content/plugins/on your server. - Go to Dashboard > Plugins, find the plugin, and click Activate.
Changelog
Major update: Safely ignores external resources and strictly targets .css and .js files. Upgrade recommended.
2.4
- Added: Strict file extension checking to ensure only
.cssand.jsfiles 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()withexplode()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
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best WP Remove Query Strings From… alternatives
All Page Speed plugins →FAQ
WP Remove Query Strings From Static…: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is WP Remove Query Strings From St… free?
Yes. WP Remove Query Strings From St… is free to download and use from the official WordPress.org plugin directory.
Is WP Remove Query Strings From St… safe to use in 2026?
WP Remove Query Strings From St… works, but test it on a staging site before relying on it in 2026. It runs on 3K+ sites, is rated 5/5 and was last updated 5 months ago, and scores 57/100 on our health check.
How many websites use WP Remove Query Strings From St…?
WP Remove Query Strings From St… is active on 3K+ WordPress websites and has been downloaded 59,124 times since it launched in July 2017. It was downloaded 1,332 times in the last 30 days.
Does WP Remove Query Strings From St… work with WordPress 7.1?
WP Remove Query Strings From St… is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does WP Remove Query Strings From St… need?
WP Remove Query Strings From St… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WP Remove Query Strings From St… last updated?
The latest version, 2.4, was released on July 11, 2026 (5 months ago).
Who makes WP Remove Query Strings From St…?
WP Remove Query Strings From St… is developed and maintained by Rinku Y.
What are the best alternatives to WP Remove Query Strings From St…?
The most popular alternatives to WP Remove Query Strings From St… are TinyPNG Image Optimization (100K+ installs), Asset CleanUp: Page Speed B… (100K+ installs) and NitroPack (80K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card

