Remove Meta Generator for Wordpress

August 19, 2009 in Wordpress How To | Comments (0)

In the core functions.php file of your theme, add this right before the last ?>

remove_action(‘wp_head’, ‘wp_generator’);

This will remove the wp version header information that hackers can use to determine what weaknesses you have.   By adding that line, the fingerprint they search for is not present in your wordpress install.