A sablonod functions.php fájlba írd ezt bele:
PHP kód:
/**
* Disable Our Feed Urls
*/
function disable_our_feeds() {
wp_die( __('<strong>Error:</strong> No RSS Feed Available, Please visit our <a href="'. get_bloginfo('url') .'">homepage</a>.') );
}
add_action('do_feed', 'disable_our_feeds', 1);
add_action('do_feed_rdf', 'disable_our_feeds', 1);
add_action('do_feed_rss', 'disable_our_feeds', 1);
add_action('do_feed_rss2', 'disable_our_feeds', 1);
add_action('do_feed_atom', 'disable_our_feeds', 1);
Forrás: http://theos.in/wordpress/disable-rss-atom-rss2-rdf-feed/
Forrás 2: http://www.tech-evangelist.com/2010/06/29/how-to-disable-the-rss-feed-in-wordpress/
Van erre plugin is: http://wordpress.org/extend/plugins/disable-rss/
De régi verzióra írták, kérdés, működik e az új WP-vel. 99%, hogy ez működne.
Könyvjelzők