Use code PERFMATTERS for an extra 10% off!
  1. Home
  2. Docs
  3. General
  4. How to remove WordPress version number

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

Hide WordPress version number

Follow the steps below to hide the WordPress version number on your site.

Step 1

Click into the Perfmatters plugin settings.

Perfmatters plugin settings
Perfmatters plugin settings

Step 2

Make sure you’re on the “General” submenu.

Perfmatters General submenu
Perfmatters General submenu

Step 3

Toggle on “Hide WP Version.”

Hide WordPress version with Perfmatters plugin
Hide WordPress version with Perfmatters plugin

Step 4

Scroll down and click “Save Changes.”

Was this article helpful?

Related Articles