Latest Tech and Tips

The Right Way to Remove WordPress Version Number


Do you desire to remove the WordPress version number from your web site?

Many think that getting rid of the WordPress version number from your web site’s resource code can avoid some typical online assaults.

In this short article, we’ll reveal you exactly how to conveniently remove WordPress version number properly.

Hiding WordPress version number from your website

Why Remove WordPress Version Number?

By default, WordPress leaves its impacts on your website for monitoring. That is exactly how we understand that WordPress is the leading web site building contractor on the planet.

WordPress version shown in source code by default

However, occasionally this impact could be a safety leakage on your website if you are not running one of the most upgraded version ofWordPress It offers the cyberpunk with beneficial info by informing them which version you are running.

We suggest making use of the most up to date version of WordPress on all your web sites so you do not have to bother with this. However, if for one reason or another you are running an older version of WordPress, after that you must certainly follow this tutorial.

It is fairly challenging to remove all traces of which WordPress version you are making use of on your web site. An innovative assault might still be able to discover that info.

However, it will certainly avoid automated scanners and also various other much less innovative efforts from thinking your WordPress version.

That being claimed, allow’s have a look at some methods to conveniently remove version number from your WordPress web site.

Method 1. Remove WordPress Version Number making use of Sucuri

This technique is less complicated and also advised for all individuals.

All leading WordPress safety and security plugins supply a choice in the setups to conceal your WordPress version number.

However, we suggest making use of Sucuri due to the fact that it instantly conceals WordPress version info and also provides various other advanced safety and security functions.

Simply set up and also trigger the Sucuri plugin. For even more information, see our detailed overview on exactly how to set up a WordPress plugin.

Upon activation, the plugin will instantly conceal WordPress version info. You can validate it by seeing Sucuri Security” Settings and also changing to the Hardening tab.

Sucuri WordPress version hardening

Method 2. Manually Remove WordPress Version Information

This technique needs you to include code to your WordPress web site. If you have not done this previously, after that see our overview on exactly how to duplicate and also paste code fragments inWordPress

Now, lots of web sites will certainly suggest you to modify your motif’s header.php data and also eliminate the complying with line of code:

<< meta name ="generator" material ="WordPress <?php bloginfo('version'); ?>"/>>.

This technique does not function as a brand-new motif upgrade will instantly change the old layout with the brand-new data.

Another generally advised, however ineffective technique is to placed this code in your motif’s functions.php or site-specific plugin:

remove_action(' wp_head', 'wp_generator');.

This will just remove the info from the WordPress header. The version number will certainly still show up in your web site’s RSS feeds.

The right way to remove WordPress version info is by disabling the feature in charge of presenting it.

In order for you to entirely remove your WordPress version number from both your head data and also RSS feeds, you will certainly require to include the complying with code to a site-specific plugin or code fragments plugin.

feature wpbeginner_remove_version() {
add_filter(' the_generator', 'wpbeginner_remove_version');.

By including this code, you will certainly remove the WordPress version number from WordPress RSS feeds and also your web site’s head area.

Can You Completely Hide WordPress Version?

WordPress might still include the version info in numerous other areas throughout your web site. For circumstances, it is consisted of as the inquiry string in resource code for CSS and also JS data.

WordPress version shown with CSS and JS files

Removing all circumstances of WordPress version info can be lengthy, complex, and also might not constantly function.

From a safety point of view, getting rid of the apparent generator tags can shield you from some extremely typical assaults.

However, if somebody is established to get into your web site, after that concealing your WordPress version number does little to quit this.

You requirement to execute a correct WordPress safety and security configuration in position to make your web site much more safe. This includes layers of safety and security around your web site making it harder to hack right into.

We wish this short article assisted you discover exactly how to conveniently conceal WordPress version number from your web site. You might likewise desire to see our overview on exactly how to obtain a complimentary SSL certification for your web site, or our listing of essential WordPress plugins for local business.

If you liked this short article, after that please subscribe to our YouTube Channel for WordPress video clip tutorials. You can likewise discover us on Twitter and also Facebook.