Limited offer: Get 50% OFF on monthly VPS Hosting plans!

How to Hide Your WordPress Version

Estimated reading time: 1 min

Anyone that checks the source code of your site can easily reveal what version of WordPress you are running and if you aren’t good at staying up with the latest updates this can be a welcome sign for intruders.

So a good practice is to hide your WordPress install version.

How to Hide Your WordPress Version

WPBeginner has a great code snippet you can use to remove the WordPress version. Simply add the following code to your functions.php file:

 function wpversion_remove_version() {
return '';
}
add_filter('the_generator', 'wpversion_remove_version');

Please note that editing the source code of WordPress functions.php file could break your site if it is not done correctly. We highly recommend you to do a backup first of your theme’s function.php file.

If you are not feeling comfortable doing this, please check with your web developer first.

That’s it!

Don’t forget that ChemiCloud’s infrastructure supports WordPress out of the box. If you’d like to experience top speed and reliability and have access to amazing WordPress Experts, try our WordPress hosting30 days for free!

Was this article helpful?
No 0