Remove Drupal Fingerprints

Occasionally, you may want to remove some of the extra headers and other elements that fingerprint a site as being made with Drupal.

/**
 * Implements hook_html_head_alter().
 */
function MYTHEME_html_head_alter(&$head_elements) { 
  unset($head_elements['system_meta_generator']);
}

Tags

drupal theming drupal 7