Created
February 3, 2012 07:26
-
-
Save Steven-Rose/1728753 to your computer and use it in GitHub Desktop.
WP: Remove header info (potential for SEO path issues)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove_action( 'wp_head', 'feed_links_extra', 3 ); // Display the links to the extra feeds such as category feeds | |
remove_action( 'wp_head', 'feed_links', 2 ); // Display the links to the general feeds: Post and Comment Feedremove_action( 'wp_head', 'start_post_rel_link'); // Removes the start link | |
remove_action( 'wp_head', 'start_post_rel_link'); // Removes the start link | |
remove_action( 'wp_head', 'wp_shortlink_wp_head' ); // Removes shortlink reference | |
remove_action( 'wp_head', 'wp_generator' ); // Display the XHTML generator that is generated on the wp_head hook, WP version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment