Opens in a new tab
Turquoise abstract wavy W logo on a black background
Turquoise abstract wavy W logo on a black background
White WP PowerSuite logo on a black background
White WP PowerSuite logo on a black background
[wpps_ai_summarize]
On This Page
Last updated: 19/08/2026

Remove Query Strings

Removes version query parameters from local CSS and JS on the front end for leaner HTML. Does not strip other query args or third-party assets.

Overview

WordPress adds version query strings such as ?ver=6.8 to CSS and JavaScript files. These are useful for cache busting, but some site owners prefer cleaner static asset URLs or use caching systems that manage asset versions separately.

Remove Query Strings removes the ver= parameter from locally hosted WordPress, theme, and plugin CSS and JavaScript files on the frontend, while leaving external resources and other query parameters untouched.

Solid black square
Solid black square
Who is this for?
  • Performance-focused WordPress websites
  • Sites using dedicated caching or CDN cache management
  • Agencies optimizing frontend asset delivery
  • Developers who prefer cleaner CSS and JavaScript URLs

Features

Remove Version Query Strings
Automatically strips the ver= parameter from local CSS and JavaScript URLs generated by WordPress, themes, and plugins.
Local Assets Only
Targets same-site files inside wp-content and wp-includes, keeping the optimization focused on assets controlled by your WordPress installation.
Leave Third-Party Resources Untouched
External assets such as Google Fonts, analytics scripts, CDN-hosted resources, and other third-party URLs are not modified.
Preserve Other URL Parameters
Only the ver= parameter is removed. Any other query arguments attached to the asset URL remain intact.

Cleaner WordPress Asset URLs

Keep External Assets Unchanged

Use Cases

  • Clean Up CSS and JavaScript URLs
    Remove version parameters from locally hosted frontend assets for cleaner static file URLs.
  • Use With Managed Caching
    Useful when your caching or CDN setup already handles cache invalidation and you don't rely on WordPress version query strings.

Frequently Asked Questions

Related Modules

Removes the WordPress core version from public stylesheet and script links while keeping theme and plugin version markers for cache busting.
Disabled
Uses the visitor’s device for emoji instead of WordPress’s add-on scripts, so pages start a bit faster.
Disabled
Removes the default shortlink meta tag from your pages for tidier markup.
Disabled
Loads fewer icon styles on your public pages for guests. Not recommended if you use Elementor, Bricks, or similar builders on the...
Disabled
Fewer automatic saves while you edit, so your site stores fewer hidden draft revisions and stays tidier.
Disabled
Stop WordPress from auto-embedding links and loading extra embed code. Ideal when you want faster pages and you handle media and links...
Disabled
Reduce automatic background requests from WordPress to ease server load. Pick what to turn off or slow down in the module settings.
Disabled
Turns off WordPress update notification emails after core, plugin, or theme changes.
Disabled