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: 18/08/2026

Remove Version From Scripts

Removes the WordPress core version from public stylesheet and script links while keeping theme and plugin version markers for cache busting.

Overview

WordPress adds ?ver=X.X.X query strings to every script and stylesheet it loads. The version parameter tells browsers when to clear cache and fetch fresh assets. But WordPress’s core scripts carry ver values that reveal your WordPress version number to anyone viewing page source. Attackers use version exposure to target known vulnerabilities. Performance audits flag query strings as cache-busting friction.

Remove Version from Scripts for WP PowerSuite strips the ?ver= parameter from core WordPress scripts and stylesheets while keeping version parameters on theme and plugin assets. This means your WordPress version stays hidden, but your custom CSS and JavaScript cache-busting still works normally.

The result: smaller script URLs, hidden version exposure, unchanged performance behavior. No settings. No configuration. One module.

Solid black square
Solid black square
Who is this for?
  • Sites prioritizing security by hiding WordPress version from public view
  • Developers who want version hiding without breaking cache invalidation
  • Agencies standardizing WordPress cleanup across multiple client sites
  • SEO-conscious teams optimizing URL structure and crawl efficiency
  • Teams running custom theme and plugin code that requires cache busting

Features

Remove Core Version Query Strings Only
Strips ?ver=X.X.X from WordPress core scripts and styles. Theme and plugin version parameters stay so custom assets still bust cache correctly.
Hides WordPress Version Number
Removes the public ?ver parameter that reveals your WordPress version to anyone reading page source. Security through obscurity.
Hooks Both Scripts and Styles
Removes version parameters from script_loader_src and style_loader_src. Complete script and stylesheet cleanup in one module.
Zero Configuration
Enable in Modules hub. Nothing to configure. Works immediately.

The Distinction That Matters

Use Cases

  • Security Hardening
    Hiding WordPress version reduces attack surface. Removes public information attackers scan for.
  • CDN and Proxy Optimization
    Some CDNs or proxies handle query strings inefficiently. Removing core ver= improves caching behavior.
  • Mixed Tech Stack
    Site runs WordPress plus custom Node or React builds. Hide WordPress version. Keep custom cache busting intact.

Frequently Asked Questions

Related Modules

Loads fewer icon styles on your public pages for guests. Not recommended if you use Elementor, Bricks, or similar builders on the...
Disabled
Removes version query parameters from local CSS and JS on the front end for leaner HTML. Does not strip other query args...
Disabled
Turns off WordPress update notification emails after core, plugin, or theme changes.
Disabled
Removes the default shortlink meta tag from your pages for tidier markup.
Disabled
Uses the visitor’s device for emoji instead of WordPress’s add-on scripts, so pages start a bit faster.
Disabled
Fewer automatic saves while you edit, so your site stores fewer hidden draft revisions and stays tidier.
Disabled
Reduce automatic background requests from WordPress to ease server load. Pick what to turn off or slow down in the module settings.
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