There are a lot of plugins that can help you remove WordPress version number, but it is best practice to always fix things manually without a plugin. Plugins should only be the last resort to fixing issues with your WordPress blog. Too much plugins can make your blog bloated and this can be really scary especially if you still used a shared hosting plan.
Now, the reason why it is recommended to remove the WordPress version for your blog is to reduce vulnerably to hackers. Knowing the WordPress version your blog runs on, makes their job much more easier.
The step you are going to learn is different from the convention methods which requires you to place some codes on the header.php or functions.php
Those methods don’t really do a perfect job as the WordPress version can also be found on your RSS feeds.
Method 1 (Wrong)
Adding this line of code to functions.php file
Method 2 (Wrong)
Removing this line of code from header.php file
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” />
Now, here is the deal, the perfect way and the one which works for me.
Method 3 (The perfect way)
Adding this line of code to your functions.php file
This will eliminate WordPress version from your WordPress blog as well your RSS feeds.
It is thanks to Virendra, for releasing this set of codes to me. I had tried other methods but none of them produced desired results. If you followed this tutorial correctly, everything should work for you like a charm.
This is the perfect solution to remove WordPress version from your blog. I hope this was helpful, let me know your experiences.