How To Remove WordPress Version Number
How To Remove WordPress Version Number

Do you want to know how to get rid of the WordPress version number on your website?

WordPress shows its version in the site’s header, RSS feed, and other locations. If you use WordPress, you may have seen the WordPress security recommendation to hide the version number.

Despite its popularity, it does not have a long shelf life.

In this article, we’ll explain if removing the WordPress version from the site affects security and how to do it properly.

Why is the WordPress version number being removed?

The principle of concealing the WordPress version number is centuries old. Hiding the technology underlying the software minimises the possibility of it being hacked.

A skilled hacker can still uncover the crack, although such security measures are solely intended to thwart the inexperienced hackers’ attempts.

Whereas the internet was still in its infancy, there was really no cross-technology software. To operate, the programme often required a certain version and technology. Even if the language, database, or web servers were updated, the organisation remained on obsolete versions since the programme they were working on was incompatible with the current technology. 

You can watch the video tutorial below for this article:

At the time, concealing the technology’s version was important. Though times have changed, and platforms now (generally) evolve faster with the technology. However, the community’s principle and thinking process behind concealing the programme version number remains intact.

Is it safer to hide the WordPress version?

The straightforward answer is no. It makes absolutely no change to WordPress’s security. 

It was difficult to find the programme version once the software began disguising the version numbers. Hundreds of automated tools and CMS detectors can now scan any site and determine the WordPress version. 

Hiding the WordPress version number does not actually protect the site from any harmful attacks.

Still, like everyone else, I would advise you to conceal it. Your primary objective, however, should always be to utilise the most recent version of WordPress. Hide the WordPress version is not a terrible idea.

It’s not a bad idea to hide the WordPress version.

Where can I get the WordPress version number?

Before we discover how to uninstall the WordPress version, let’s look at where you may locate it. WordPress version number is shown by default in RSS feed, dashboard, header section, and so forth….

How to Remove WordPress Version Number?

There are several methods for hiding the WordPress version number.

In this piece, however, we will utilise the simplest method to uninstall the WordPress version of the website.

  • Firstly, open your WordPress Admin dashboard.
  • Hover on to Appearances.
  • After that, just simply go and tap on Theme Editor.
  • Go ahead and just tap on Theme Functions from the right hand side of the screen.
  • Scroll downwards until you finally reach the end of the screen.
  • Now, you have to add a small piece of code.
How To Remove WordPress Version Number

NOTE: Before making any code-related changes, it is suggested to have a backup of your website JUST IN CASE anything goes wrong, then you can at least restore it afterwards.

Code:

function wpdigitalsuncity_remove_version() {

return ”;

}

add_filter(‘the_generator’, ‘wpdigitalsuncity_remove_version’);
How To Remove WordPress Version Number
  • Further, click on the Update File.

Now, you can go ahead and check in your website whether the WordPress version number has been removed as per your need. 

As long as you followed our steps correctly, you must have been able to remove your WordPress Version Number. 

In case you have more queries, and require more help, feel absolutely free to check out our website or contact Digital Suncity.

Also Read: How to Disable HTML in WordPress Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Need Professional Help?

We can help you with website fixes and ongoing maintenance.