Hide WordPress Version Numbers and Generator META with WP Ghost
This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.
Remove WordPress version numbers from your source code with one toggle in WP Ghost. This hides the generator META tag, strips ?ver= parameters from all CSS and JS files, removes generator tags from WPML, Slider Revolution, and WPBakery, and hides the DNS prefetch link to WordPress.org.
How to Hide WordPress Version
Go to WP Ghost > Tweaks > Hide Options. Switch on Hide WordPress Version. Click Save.

This removes version parameters from all enqueued CSS and JS files (not just WordPress core – every plugin and theme version too), the WordPress generator META tag, plugin generator META tags (WPML, Slider Revolution, WPBakery), the DNS prefetch link to s.w.org, and Jetpack analytics WordPress trails.
Enable Random Static Number
When version parameters are removed, browsers may cache old CSS/JS files indefinitely. Enable Random Static Number in the same section to replace versions with a non-informative random number. This keeps cache-busting functional while hiding actual version information.
Frequently Asked Questions
Does this hide plugin and theme versions too?
Yes. WP Ghost strips the ?ver= parameter from all enqueued assets — every plugin stylesheet, every plugin script, and your theme’s CSS and JavaScript files.
Should I always enable Random Static Number?
Yes, unless you have a specific reason not to. Without it, browsers may cache old files indefinitely.
Does hiding versions affect SEO?
No. Search engines do not use version parameters or generator tags for ranking.
Does WP Ghost modify WordPress core files?
No. Version parameters are stripped from HTML output at runtime. Actual files untouched. Disabling restores all originals.