plugin-icon

WP Remove Query Strings From Static Resources

מאת Rinku Y·
Boost your WordPress site speed by removing query strings from CSS and JS files — improve your GTmetrix, PageSpeed, and Pingdom scores instantly.
דירוגים
5
גרסה
2.0
התקנות פעילות
3K
עודכן לאחרונה
Jun 29, 2026
WP Remove Query Strings From Static Resources

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 CSS and JavaScript file URLs.

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 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 CSS and JS URLs (not just ?ver)
  • 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

חינםבתוכניות בתשלום
בביצוע ההתקנה, אנחנו מקבלים את הסכמתך לתנאי השירות של WordPress.com ולתנאים של התוסף של הצד השלישי.
נבדקו עד
WordPress 7.0
תוסף זה זמין להורדה ולשימוש דרך שברשותך.