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 Managed WordPress hosting plans and have your website migrated today!

Updated on October 16, 2024
Was this article helpful?

Related Articles

Spring into Savings!
Up to 78% Off Hosting Plans + Free Migration!
👉 View Deals

Leave a Comment