Use the code PERFMATTERS for 10% off!

How to Remove WordPress Version Number

By default, the following tag shows up in every WordPress install.

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

It shows the version of WordPress you are running. This can be bad for two reasons.

  1. You don’t want to give away to hackers which version of WordPress you are on. Many bigger WordPress sites take months sometimes to test new plugins and updates. If they fall behind and are running an insecure version, this could be a welcome invitation.
  2. Every single line of code, no matter how small it is, adds to your overall page weight. Are we being a little over obsessive? Probably, but there is no reason why this code should be there.
WordPress version meta tag
WordPress version meta tag

You can easily hide the WordPress version in the perfmatters plugin by enabling the “Hide WP Version” option.

hide wordpress version with perfmatters plugin
Hide WordPress version with perfmatters plugin

Was this article helpful?

Related Articles