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!

If you enjoyed this tutorial, then you’ll love our support. All ChemiCloud’s hosting plans include 24/7 support from our amazing support team. Check out our WordPress hosting plans and have your website migrated today!

Updated on April 18, 2020

Was this article helpful?

Related Articles

Need help?
We're always here for you. Submit a ticket or Chat with a live person.
Submit Ticket

Leave a Comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.