Remove the WordPress Version Number from Your Blog Setup
ByWhy would you want to do that? Because this can be a security issue.
Many updates are created to fix security problems. If a hacker knows what version you are using in your blog setup then they know what vulnerabilities they can exploit.
So it is best to always run the latest version of WordPress. To update all you need to do is:
- make sure all your plugins are up to date.
- Backup your site. You do have a backup solution in place don’t you??
- Your WP Dashboard will tell you what version you are using. Just click Update and that’s it.
But if you don’t update as often as you should ( shame on you ) then here is an easy fix that will help keep your site secure.
To completely remove the WordPress version number from both your head file and RSS feeds, add the following code to your functions.php file. Simply copy and paste it:
function wpbeginner_remove_version() {
return ”;
}
add_filter(‘the_generator’, ‘wpbeginner_remove_version’);
By adding this code, you will remove the WordPress version number from every part of your site.
So you can now afford to be lazy and not have to worry about a hacker knowing where some of your vulnerabilities lie.
If The Blog Builder Guy has built your blog then you don’t have to worry about any of this because I always keep your site up to date.
And as always if you have any questions don’t hesitate to ask. Go to the Contact page and leave a message.
