Remove WordPress version from header

It’s very easy to track the version of WordPress you are running on your site. Because it’s that easy, it can also mean a security leak. Especially if you don’t update WordPress frequently.

There is an easy way to hide the version number. Just add this code to the functions.php of the theme you’re using.

Always backup your functions.php before changing it!

An alternative way to remove the version number is to edit the header.php of the theme you are using. Open the header.php and remove this code:

Always backup your header.php before changing it!

These changes will get lost when you change to another theme. Make sure to edit the functions.php or header.php of your new theme!

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x