add_action( 'wp_head', 'wpse58023_wp_head', 1 );
function wpse58023_wp_head() {
// Removes main feed link(s)
remove_action( 'wp_head', 'feed_links', 2 );
// Removes comments feed link
remove_action( 'wp_head', 'feed_links_extra', 3 );
}
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/