🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
WP Remove Query Strings From Static Resources icon
Maintained Tested up to 7.0.9 #11 in Page Speed

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.

Active installs3K+1K+ tier
Downloads · 30d1.3K▼ -9.1% vs prev. 30d
Rating5/55 reviews
Health score57/100Fair
All-time downloads59.1KSince Jul 2017
Support resolved0 / 10% in last 2 months
RequiresWP 5.0PHP 7.4+
Downloads · 7d273▼ -3.5% week over week
Our verdict

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 & support

Daily downloads

255075Sep 4Oct 18Dec 2
Yesterday74
Daily average (1y)36
Peak day1,024Jul 12, 2026
Last 12 months13.1K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where WP Remove Query Strings Fro… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
Page Speed >100 5,945 Best Page Speed plugins →
performance >100 10,000 Best performance plugins →
query strings #1 4,386 Best query strings plugins →
remove query strings #1 2,722 Best remove query strings plugins →
static resources #2 693 Best static resources plugins →

Version adoption

Share of active sites per release.

  • 2.465.9%
  • 1.816.6%
  • 1.39.3%
  • Other8.3%

Rating breakdown

★★★★★★★★★★ 5 from 5 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About WP Remove Query Strings From Static Res…

From the official readme · v2.4

Description

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 .css and .js to 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.

Upgrade to Pro!

Installation

There are three ways to install this plugin:

Option 1: Install via WordPress Dashboard (Recommended)

  1. Go to Dashboard > Plugins > Add New.
  2. Search for WP Remove Query Strings From Static Resources.
  3. Click Install Now, then click Activate.
  4. That’s it — the plugin works immediately, no configuration needed.

Option 2: Upload via WordPress Dashboard

  1. Download the plugin ZIP file from the WordPress Plugin Repository.
  2. Go to Dashboard > Plugins > Add New > Upload Plugin.
  3. Choose the downloaded ZIP file and click Install Now.
  4. Activate the plugin from the Plugins page.

Option 3: Upload via FTP

  1. Download and extract the plugin ZIP file.
  2. Upload the wp-remove-query-strings-from-static-resources folder to /wp-content/plugins/ on your server.
  3. 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 .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

Full changelog on WordPress.org →

Screenshots

Code View
Code View

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.

Active installs badge Rating badge Health score badge

Best WP Remove Query Strings From… alternatives

All Page Speed plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 TinyPNG Image Optimization – Image Compression JPEG & PNG | Convert to WebP & AVIF TinyPNG Image Optimization Speed up your website. Optimize your JPEG, PNG, WebP, AVIF and JPEG XL images automatically… by TinyPNG 100K+ ★★★★★★★★★★ 4.6 (183) 1 week ago 94
2 Asset CleanUp: Page Speed Booster Asset CleanUp: Page Speed Booster Speed up your WordPress site by unloading unnecessary CSS and JavaScript, reducing page… by Gabe Livan 100K+ ★★★★★★★★★★ 4.9 (1.6K) 2 weeks ago 81
3 NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization NitroPack Boost site speed and performance with an all-in-one cache and speed optimization plugin… by NitroPack 80K+ ★★★★★★★★★★ 4.3 (311) 1 day ago 78
4 xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN xSpeed Cache: AI-Powered Performance Hub with MCP, Caching… A complete WordPress caching plugin: page cache, object cache, CDN, database cleanup and… by WPDeveloper 10K+ ★★★★★★★★★★ 5 (29) 24 hours ago 87
5 Insights from Google PageSpeed Insights from Google PageSpeed Use Insights from Google PageSpeed to improve your site's performance, Core Web Vitals… by Matt Keys 10K+ ★★★★★★★★★★ 4.8 (28) 2 months ago 85
6 PhastPress PhastPress PhastPress automatically optimizes your site for the best possible performance. by Albert Peschar 10K+ ★★★★★★★★★★ 4.9 (99) 7 days ago 90
7 Leverage Browser Caching Leverage Browser Caching Speed up WordPress with browser caching. Automatically adds expiry headers for images, CSS… by Rinku Y 9K+ ★★★★★★★★★★ 4.1 (42) 5 months ago 70
8 GTmetrix for WordPress GTmetrix for WordPress GTmetrix can help you develop a faster, more efficient, and all-around improved website… by GTmetrix 7K+ ★★★★★★★★★★ 4.5 (15) 3 years ago 39
9 Solid Performance – Your No-Code Caching, Performance, & Page Speed Solution Solid Performance Solid Performance is a no-code solution for increasing the page performance of your… by Nexcess 4K+ ★★★★★★★★★★ 4.3 (3) 2 months ago 62
10 Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score Powered Cache Powered Cache is the most powerful caching and performance suite for WordPress. Easily… by poweredcache 3K+ ★★★★★★★★★★ 4.8 (58) 4 weeks ago 87

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

↑↓ to move↵ to open