|

Remove WordPress Version Number From Public View

One of the most commonly seen security tips around the WordPress-o-Sphere has got to be this:

Don’t display your WordPress version number publicly
Many WordPress developers often display the WordPress version in the source code. But having this information publicly available makes it easy for attackers to exploit known vulnerabilities on a particular WordPress version.

This sort of thinking is referred to as “security through obscurity,” and may or may not be an effective way to increase the overall security of your site.

Just place this single line into your theme’s functions.php file:

remove_action(‘wp_head’, ‘wp_generator’);

Original article: http://digwp.com/2009/07/remove-wordpress-version-number/

NOTE: This caused an admin login error after adding ddaccordion.js to ToryClark.com

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *