跳到内容

Remove WordPress Version – Hide Generator Meta Tag

v2.1.1

Umar Draz · 2017年11月15日 上架

Remove the WordPress version from your site: hide the generator meta tag and strip ?ver= from stylesheet and script URLs.

正在使用
30+
评分
5.0 / 5
累计下载
2,730
最近更新
2026年9月14日
1 条评价需要 WordPress 5.0+已测试到 7.1.5PHP 7.0+

贡献者

WordPress tells everyone which version you are running. It prints a meta tag in
your page source:

<meta name="generator" content="WordPress 6.9" />

and it appends the same version to every stylesheet and script URL:

style.css?ver=6.9

Anyone can read it, including automated scanners looking for sites running a
version with a known vulnerability. This plugin removes all three.

What it removes

  • The generator meta tag from your page source
  • The version string from stylesheet URLs
  • The version string from script URLs

Each one is a separate switch. All three are on from the moment you activate it.

Why hide the WordPress version

Scanners fingerprint sites by version, then try exploits for that version. Hiding
it will not patch anything, so keep WordPress updated regardless. What it does is
stop your site appearing in the results when someone searches for every site
running a specific vulnerable release.

Removing the version from asset URLs has a second effect: proxies and CDNs cache
those files more predictably when the URL stops changing on every core update.

Settings

One screen, three checkboxes, under Settings then Generator Remover. Nothing is
written to your theme and no files are edited. Deactivate the plugin and
WordPress puts everything back immediately.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums