1. Home
  2. Applications Management
  3. WordPress
  4. How to Hide Your WordPress Version

How to Hide Your WordPress Version

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 hostingand have your website migrated today for free!

Updated on July 24, 2019

Was this article helpful?

Related Articles

Do you still need help?
Get amazingly fast Support from our Happiness Engineers!
Submit Ticket